Make sure you have virtualenv and virtualenvwrapper setup.
Test to make sure workon
, mkvirtualenv
, rmvirtualenv
are valid commands before using this.
...
source /path_to/workit_scripts.sh
...
-
Create virtualenv:
Under project directory, typeworkonit
This will create a virtualenv with the name of the project directory and add a .venvname file with the name of the virtualenv -
Use virutalenv:
Under project directory, typevenvit
This will use the virtualenv as specified in the .venvname file.
You can still specify default mkvirtualenv arguments such as -p python3 etc... -
Delete virutalenv:
Under project directory, typermvenv
This will remove the virtualenv as specified in the .venvname file and remove the file as well