Add virtualenv

This commit is contained in:
Pierre Poulain 2016-03-15 17:28:07 +01:00
parent 49e1fc46f4
commit c0d755e102
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# Create new environment
virtualenv /path/to/project/env_name
# Create new environment and inherit already installed Python libraries
virtualenv --system-site-package /path/to/project/env_name
# Create new environment with a given Python interpreter
virtualenv /path/to/project/env_name -p /usr/bin/python/3.4
# Activate environnment
source /path/to/project/env_name/bin/activate
# Quit environment
deactivate