From 03d485b40e49911a4b8e3cc72950851e91659508 Mon Sep 17 00:00:00 2001 From: Johannes Seitz Date: Sun, 9 Oct 2011 21:03:25 +0200 Subject: [PATCH] Added Paragraph on virtualenv and virtualenvwrapper --- docs/starting/dev-env.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/starting/dev-env.rst b/docs/starting/dev-env.rst index 95dbc68..488f591 100644 --- a/docs/starting/dev-env.rst +++ b/docs/starting/dev-env.rst @@ -85,11 +85,26 @@ Interpreter Tools virtualenv ---------- +Virtualenv is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them. +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. virtualenvwrapper ----------------- +Virtualenvwrapper makes virtualenv a pleasure to use by wrapping the command line API with a nicer CLI. +:: + + pip install virtualenvwrapper + + +Put this into your `~/.bash_profile` (Linux/Mac) file: + +:: + + export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages' + +This will prevent your virtualenvs from relying on your (global) site packages directory, so that they are completely separate.. Other Tools :::::::::::