Last active
January 7, 2018 13:01
Revisions
-
mxub revised this gist
Jan 7, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,7 @@ This is what I did to set up my python development system on my mac ## Add this to .zshrc ``` # everything for virtualenvwrapper VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2 export WORKON_HOME=~/Envs export PROJECT_HOME=~/Projekte/Python source /usr/local/bin/virtualenvwrapper.sh -
mxub revised this gist
Jul 5, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,10 @@ source /usr/local/bin/virtualenvwrapper.sh ## Helper Commands mkvenv2() {mkvirtualenv -p $which=python2 "$*";} mkvenv3() {mkvirtualenv -p $which=python3 "$*";} ## better exit: alias workoff="deactivate" ``` ## Commands -
mxub revised this gist
Jul 5, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,9 @@ in that env `python --version` will return 2.x in that env `python --version` will return 3.x ### Join an environment `workon test_python_x` ## The Hard Way -
mxub revised this gist
Jul 5, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ This is what I did to set up my python development system on my mac ## First Steps: 1. `brew install python, python3` 2. `pip --user install virtualenvwrapper` ## Add this to .zshrc ``` -
mxub revised this gist
Sep 17, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,12 +18,12 @@ mkvenv3() {mkvirtualenv -p $which=python3 "$*";} ``` ## Commands ### Create a new _python2_ env (the easy way) `mkvenv2 test_python_2` in that env `python --version` will return 2.x ### Create a new _python3_ env (the easy way) `mkvenv3 test_python_3` in that env `python --version` will return 3.x -
mxub renamed this gist
Sep 17, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mxub revised this gist
Sep 16, 2015 . 1 changed file with 17 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,9 +11,25 @@ This is what I did to set up my python development system on my mac export WORKON_HOME=~/Envs export PROJECT_HOME=~/Projekte/Python source /usr/local/bin/virtualenvwrapper.sh ## Helper Commands mkvenv2() {mkvirtualenv -p $which=python2 "$*";} mkvenv3() {mkvirtualenv -p $which=python3 "$*";} ``` ## Commands ### Create a new _python2_ env (the hard way) `mkvenv2 test_python_2` in that env `python --version` will return 2.x ### Create a new _python3_ env (the hard way) `mkvenv3 test_python_3` in that env `python --version` will return 3.x ## The Hard Way ### Create a new _python2_ env (the hard way) `mkvirtualenv -p /usr/local/bin/python test` -
mxub revised this gist
Feb 4, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,8 +17,10 @@ source /usr/local/bin/virtualenvwrapper.sh ### Create a new _python2_ env (the hard way) `mkvirtualenv -p /usr/local/bin/python test` in that env `python --version` will return 2.x ### Create a new _python3_ env (the hard way) `mkvirtualenv -p /usr/local/bin/python3 test3` in that env `python --version` will return 3.x -
mxub revised this gist
Feb 4, 2014 . 1 changed file with 17 additions and 5 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,24 @@ # Cheat Sheet for virtualenvwrapper This is what I did to set up my python development system on my mac ## First Steps: 1. `brew install python, python3` 2. `sudo pip install virtualenvwrapper` ## Add this to .zshrc ``` # everything for virtualenvwrapper export WORKON_HOME=~/Envs export PROJECT_HOME=~/Projekte/Python source /usr/local/bin/virtualenvwrapper.sh ``` ## Basic Commands ### Create a new _python2_ env (the hard way) `mkvirtualenv -p /usr/local/bin/python test` in that env `python --version` will return 2.x ### Create a new _python3_ env (the hard way) `mkvirtualenv -p /usr/local/bin/python3 test3` in that env `python --version` will return 3.x -
mxub created this gist
Feb 4, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #First: 1. brew install python, python3 2. sudo pip install virtualenvwrapper # Add to .zshrc ``` # everything for virtualenvwrapper export WORKON_HOME=~/Envs export PROJECT_HOME=~/Projekte/Python source /usr/local/bin/virtualenvwrapper.sh ```