Shell script to add some repeatability across my different projects for creating python virtual environments and installing packages via requirements.txt
Usage:
- Copy into a project directory (I typically create a
dev
subdirectory in the root of my project and place this file there) - Source this file:
source pydev.sh
Alternatively, a venv name can be passed in as the first command-line argument:
source pydev.sh alt_venv_name