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 PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
||||
|
||||
sub="${root}/${version}"
|
||||
|
||||
python -m pip \
|
||||
download \
|
||||
--dest "${root}" \
|
||||
--dest "${sub}" \
|
||||
"${@}"
|
||||
|
||||
prefix="Name: "
|
||||
for wheel in "${root}/"*; do
|
||||
for wheel in "${sub}/"*; do
|
||||
rm --force --recursive "${tmp}"
|
||||
echo
|
||||
echo "${wheel}"
|
||||
|
@ -85,9 +87,9 @@ for version in "3.12" "3.11" "3.10"; do
|
|||
name="$(echo "${name}" | tr "_" "-")"
|
||||
name="$(echo "${name}" | tr -d "\r")"
|
||||
echo "${name}"
|
||||
simple="${root}/simple/${name}"
|
||||
simple="${sub}/simple/${name}"
|
||||
mkdir --parents "${simple}"
|
||||
mv -i "${root}/${file_name}-"* "${simple}/"
|
||||
mv -i "${sub}/${file_name}-"* "${simple}/"
|
||||
done
|
||||
|
||||
export PATH="${OLD_PATH}"
|
||||
|
|
Loading…
Reference in a new issue