Compare commits
2 commits
5b1656b7aa
...
135f4fe65e
Author | SHA1 | Date | |
---|---|---|---|
135f4fe65e | |||
deb5145182 |
1 changed files with 9 additions and 6 deletions
15
py.pypi.sh
15
py.pypi.sh
|
@ -7,6 +7,8 @@ set \
|
||||||
\
|
\
|
||||||
"uv" \
|
"uv" \
|
||||||
\
|
\
|
||||||
|
"Cython" \
|
||||||
|
\
|
||||||
"pelican" \
|
"pelican" \
|
||||||
\
|
\
|
||||||
"hatch" \
|
"hatch" \
|
||||||
|
@ -45,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}"
|
||||||
|
@ -92,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
|
|
||||||
|
|
||||||
export PATH="${OLD_PATH}"
|
|
||||||
unset OLD_PATH VIRTUAL_ENV
|
|
||||||
done
|
done
|
||||||
|
|
||||||
rm --force --recursive "${tmp}"
|
rm --force --recursive "${tmp}"
|
||||||
|
|
Loading…
Reference in a new issue