From 7e7e971588050196bc9bd7f439c786321aa7c4a1 Mon Sep 17 00:00:00 2001 From: Taylor Edmiston Date: Fri, 15 May 2015 21:11:51 -0400 Subject: [PATCH] Add mkproject instructions for virtualenvwrapper --- docs/dev/virtualenvs.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/dev/virtualenvs.rst b/docs/dev/virtualenvs.rst index 8c3403591..e7f3d0ed1 100644 --- a/docs/dev/virtualenvs.rst +++ b/docs/dev/virtualenvs.rst @@ -160,6 +160,14 @@ This creates the :file:`venv` folder inside :file:`~/Envs`. $ workon venv +Alternatively, you can make a project, which creates the virtual environment, +and also a project directory inside ``$PROJECT_HOME``, which is ``cd`` -ed into +when you ``workon myproject``. + +.. code-block:: console + + $ mkproject myproject + **virtualenvwrapper** provides tab-completion on environment names. It really helps when you have a lot of environments and have trouble remembering their names.