Created
February 28, 2017 08:30
-
-
Save mjalajel/b43a7805ff4fa5bceb7df0f05c88a0f8 to your computer and use it in GitHub Desktop.
export/import pip dependencies (with versions)
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
#Export (machine A) | |
source {$venv_path}/bin/activate | |
pip freeze --local > requirements.txt |
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
#Import (machine B) | |
source {$venv_path}/bin/activate | |
pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment