Created
October 12, 2018 14:54
-
-
Save NekoTashi/ea6b3480186fbf1a7a57ce5929228176 to your computer and use it in GitHub Desktop.
How to activate venv inside a bash script.
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/sh | |
set -e | |
cd "<virtualenv_dir>" | |
source bin/activate | |
# -- Your code here! |
Author
NekoTashi
commented
Oct 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment