sub
This commit is contained in:
parent
c271c7de58
commit
37277d1dc2
1 changed files with 6 additions and 4 deletions
10
py.pypi.sh
10
py.pypi.sh
|
@ -46,13 +46,15 @@ for version in "3.12" "3.11" "3.10"; do
|
||||||
export OLD_PATH="${PATH}"
|
export OLD_PATH="${PATH}"
|
||||||
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
||||||
|
|
||||||
|
sub="${root}/${version}"
|
||||||
|
|
||||||
python -m pip \
|
python -m pip \
|
||||||
download \
|
download \
|
||||||
--dest "${root}" \
|
--dest "${sub}" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
||||||
prefix="Name: "
|
prefix="Name: "
|
||||||
for wheel in "${root}/"*; do
|
for wheel in "${sub}/"*; do
|
||||||
rm --force --recursive "${tmp}"
|
rm --force --recursive "${tmp}"
|
||||||
echo
|
echo
|
||||||
echo "${wheel}"
|
echo "${wheel}"
|
||||||
|
@ -85,9 +87,9 @@ for version in "3.12" "3.11" "3.10"; do
|
||||||
name="$(echo "${name}" | tr "_" "-")"
|
name="$(echo "${name}" | tr "_" "-")"
|
||||||
name="$(echo "${name}" | tr -d "\r")"
|
name="$(echo "${name}" | tr -d "\r")"
|
||||||
echo "${name}"
|
echo "${name}"
|
||||||
simple="${root}/simple/${name}"
|
simple="${sub}/simple/${name}"
|
||||||
mkdir --parents "${simple}"
|
mkdir --parents "${simple}"
|
||||||
mv -i "${root}/${file_name}-"* "${simple}/"
|
mv -i "${sub}/${file_name}-"* "${simple}/"
|
||||||
done
|
done
|
||||||
|
|
||||||
export PATH="${OLD_PATH}"
|
export PATH="${OLD_PATH}"
|
||||||
|
|
Loading…
Reference in a new issue