aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/cheat/python4
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles/cheat/python b/dotfiles/cheat/python
index 7c8f0b2..865aa96 100644
--- a/dotfiles/cheat/python
+++ b/dotfiles/cheat/python
@@ -61,3 +61,7 @@ ENABLE_CONTRIB=ON python setup.py install
virtualenv .venv_dev
source .venv_dev/bin/activate
pip install -e . # for install package in dev mode
+
+# virtualenv with custom python version
+
+mkvirtualenv projectpy2 --python=python2.7