mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Add mkproject instructions for virtualenvwrapper
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user