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