Created
March 16, 2021 15:28
-
-
Save rafamdr/6393c291eec796186385a0081f84db55 to your computer and use it in GitHub Desktop.
Download pip packages to create a bundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
rm -rf pip_packages | |
mkdir pip_packages | |
while read -r package; do | |
venv/bin/pip download "${package}" -d pip_packages | |
done < requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment