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" \
|
||||
\
|
||||
"Cython" \
|
||||
\
|
||||
"pelican" \
|
||||
\
|
||||
"hatch" \
|
||||
|
@ -45,13 +47,18 @@ for version in "os" "3.12" "3.11" "3.10" "pypy3.10"; do
|
|||
export OLD_PATH="${PATH}"
|
||||
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
||||
|
||||
sub="${root}/${version}"
|
||||
sub="${root}"
|
||||
# sub="${root}/${version}"
|
||||
|
||||
python3 -m pip \
|
||||
download \
|
||||
--dest "${sub}" \
|
||||
"${@}"
|
||||
|
||||
export PATH="${OLD_PATH}"
|
||||
unset OLD_PATH VIRTUAL_ENV
|
||||
done
|
||||
|
||||
prefix="Name: "
|
||||
for wheel in "${sub}/"*; do
|
||||
rm --force --recursive "${tmp}"
|
||||
|
@ -92,11 +99,7 @@ for version in "os" "3.12" "3.11" "3.10" "pypy3.10"; do
|
|||
echo "${name}"
|
||||
simple="${sub}/simple/${name}"
|
||||
mkdir --parents "${simple}"
|
||||
mv -i "${sub}/${file_name}-"* "${simple}/"
|
||||
done
|
||||
|
||||
export PATH="${OLD_PATH}"
|
||||
unset OLD_PATH VIRTUAL_ENV
|
||||
mv -i "${wheel}" "${simple}/"
|
||||
done
|
||||
|
||||
rm --force --recursive "${tmp}"
|
||||
|
|
Loading…
Reference in a new issue