I am talking about Doug Hellman virtualenvwrapper . Well, once we have installed virtualenvwrapper, we have to edit the .bashrc file as described here
what we do, we add the following three lines of code:
export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/Devel source /usr/local/bin/virtualenvwrapper.sh
where .virtualenv is the directory in which venvs will be hosted. Devel is the directory where the code will be located.
Observation 1: when I do mkvirtualenv proj1 what happens is a directory called proj1 created inside .virtualenv but NOT inside Devel.
Observation 2: When I do mkproject proj1 , a directory is created inside .virtualenv, as well as inside Devel.
Now the questions are:
Please explain this with remark 1.
What if two projects have the same requirements and I want to use one env and do not want to start by creating another virtualenv and reinstalling the same one that is installed. How to do it?
source share