Skip to content

Commit 03d485b

Browse files
author
Johannes Seitz
committed
Added Paragraph on virtualenv and virtualenvwrapper
1 parent f233533 commit 03d485b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/starting/dev-env.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,26 @@ Interpreter Tools
8585
virtualenv
8686
----------
8787

88+
Virtualenv is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.
89+
It solves the "Project X depends on version 1.x but, Project Y needs 4.x" dilemma and keeps your global site-packages directory clean and manageable.
8890

8991
virtualenvwrapper
9092
-----------------
9193

94+
Virtualenvwrapper makes virtualenv a pleasure to use by wrapping the command line API with a nicer CLI.
9295

96+
::
97+
98+
pip install virtualenvwrapper
99+
100+
101+
Put this into your `~/.bash_profile` (Linux/Mac) file:
102+
103+
::
104+
105+
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
106+
107+
This will prevent your virtualenvs from relying on your (global) site packages directory, so that they are completely separate..
93108

94109
Other Tools
95110
:::::::::::

0 commit comments

Comments
 (0)