merge
This commit is contained in:
parent
deb5145182
commit
135f4fe65e
1 changed files with 7 additions and 6 deletions
13
py.pypi.sh
13
py.pypi.sh
|
@ -47,13 +47,18 @@ for version in "os" "3.12" "3.11" "3.10" "pypy3.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}"
|
sub="${root}"
|
||||||
|
# sub="${root}/${version}"
|
||||||
|
|
||||||
python3 -m pip \
|
python3 -m pip \
|
||||||
download \
|
download \
|
||||||
--dest "${sub}" \
|
--dest "${sub}" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
||||||
|
export PATH="${OLD_PATH}"
|
||||||
|
unset OLD_PATH VIRTUAL_ENV
|
||||||
|
done
|
||||||
|
|
||||||
prefix="Name: "
|
prefix="Name: "
|
||||||
for wheel in "${sub}/"*; do
|
for wheel in "${sub}/"*; do
|
||||||
rm --force --recursive "${tmp}"
|
rm --force --recursive "${tmp}"
|
||||||
|
@ -94,11 +99,7 @@ for version in "os" "3.12" "3.11" "3.10" "pypy3.10"; do
|
||||||
echo "${name}"
|
echo "${name}"
|
||||||
simple="${sub}/simple/${name}"
|
simple="${sub}/simple/${name}"
|
||||||
mkdir --parents "${simple}"
|
mkdir --parents "${simple}"
|
||||||
mv -i "${sub}/${file_name}-"* "${simple}/"
|
mv -i "${wheel}" "${simple}/"
|
||||||
done
|
done
|
||||||
|
|
||||||
export PATH="${OLD_PATH}"
|
|
||||||
unset OLD_PATH VIRTUAL_ENV
|
|
||||||
done
|
|
||||||
|
|
||||||
rm --force --recursive "${tmp}"
|
rm --force --recursive "${tmp}"
|
||||||
|
|
Loading…
Reference in a new issue