Created
June 6, 2024 03:08
-
-
Save neofob/84b4984710e283bcfbc708dbd73203f1 to your computer and use it in GitHub Desktop.
Download pip packages
This file contains hidden or 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
#!/usr/bin/env bash | |
REQ=${REQ:-requirements.txt} | |
PY_VERSIONS=${PY_VERSION:-"3.9"} | |
PLATFORMS=${PLATFORMS:-"any"} | |
PY_INDEX_URL=${PY_INDEX_URL:-https:} | |
pip download --only-binary :all: -r ${REQ} --dest . --platform ${PLATFORMS} --python-version ${PY_VERSIONS} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment