Skip to content

Instantly share code, notes, and snippets.

@bennuttall
Last active February 19, 2022 20:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennuttall/439009ba320897b55ba27e0495986eb3 to your computer and use it in GitHub Desktop.
Save bennuttall/439009ba320897b55ba27e0495986eb3 to your computer and use it in GitHub Desktop.
package=$1
mapfile -t versions < versions.txt
for v in "${versions[@]}"
do
echo $v
date
/usr/bin/time -f "piw-import $package-$v-*.whl -y --duration 00:%E" -ao imports.sh pip3 wheel $package==$v -q --no-deps --no-binary $package --extra-index-url https://www.piwheels.org/simple --prefer-binary
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment