This commit is contained in:
Marc Beninca 2024-09-30 08:26:06 +02:00
parent deb5145182
commit 135f4fe65e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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
export PATH="${OLD_PATH}"
unset OLD_PATH VIRTUAL_ENV
done done
rm --force --recursive "${tmp}" rm --force --recursive "${tmp}"