Compare commits

..

No commits in common. "14aa8def2ebd43497e98f8ebab4a10f2663a4a17" and "771878775ef024bba2434bc37c9117fbc25f4d6a" have entirely different histories.

View file

@ -41,21 +41,13 @@ tmp="${root}/tmp"
rm --force --recursive \
~/.cache/pip "${root}"
for version in "3.10" "3.11" "3.12"; do
export VIRTUAL_ENV="/prj/venv/${version}"
export OLD_PATH="${PATH}"
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
sub="${root}/${version}"
python -m pip \
python3 -m pip \
download \
--dest "${sub}" \
--dest "${root}" \
"${@}"
prefix="Name: "
for wheel in "${sub}/"*; do
rm --force --recursive "${tmp}"
for wheel in "${root}/"*; do
echo
echo "${wheel}"
file="$(basename "${wheel}")"
@ -87,13 +79,9 @@ for version in "3.10" "3.11" "3.12"; do
name="$(echo "${name}" | tr "_" "-")"
name="$(echo "${name}" | tr -d "\r")"
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
sub="${root}/simple/${name}"
mkdir --parents "${sub}"
mv -i "${root}/${file_name}-"* "${sub}/"
done
rm --force --recursive "${tmp}"