This commit is contained in:
Marc Beninca 2024-09-29 18:14:47 +02:00
parent c271c7de58
commit 37277d1dc2
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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}"