Skip to content

Commit

Permalink
Added more info in virtualenvs.rst.
Browse files Browse the repository at this point in the history
Added commands to specify python interpreter version.
  • Loading branch information
syndbg committed Sep 1, 2014
1 parent 73a961a commit b526bb0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/dev/virtualenvs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Basic Usage
This creates a copy of Python in whichever directory you ran the command in,
placing it in a folder named :file:`venv`.

You can also use a Python interpreter of your choice.

.. code-block:: console
$ virtualenv -p /usr/bin/python2.7 venv
This will use the Python interpreter in :file:`/usr/bin/python2.7`

2. To begin using the virtual environment, it needs to be activated:

.. code-block:: console
Expand Down

0 comments on commit b526bb0

Please sign in to comment.