Created
March 16, 2021 15:30
-
-
Save rafamdr/1172cb7309f5fada3b8ff1cb24381b81 to your computer and use it in GitHub Desktop.
Install pip packages from tarballs or whl files
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 | |
DIRECTORY=$1 | |
while read -r package; do | |
venv/bin/pip install "${package}" -f "$DIRECTORY"/ --no-index | |
done < requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment