Skip to content
Browse files

notes wrt. virtualenv(wrapper) use

  • Loading branch information...
1 parent 1bde2bc commit c3cf6bb907b27bb195e526c904cff0ae5dccf6ea Maarten Hermans committed Apr 26, 2009
Showing with 42 additions and 0 deletions.
  1. +42 −0 notes/virtualenv-workflow.txt
View
42 notes/virtualenv-workflow.txt
@@ -0,0 +1,42 @@
+Installeer virtualenv globaal
+
+ sudo easy_install virtualenv
+
+Installeer virtualenv wrapper globaal
+
+ download tarbal van http://www.doughellmann.com/projects/virtualenvwrapper/
+ mkdir .virtualenvs # directory waar je envs gaan staan
+ cp virtualenvwrapper_bashrc /usr/local/bin/ # script zelf kopiëren
+
+Volgende lijnen toevoegen aan .bashrc
+
+ export WORKON_HOME=$HOME/.virtualenvs
+ source /usr/local/bin/virtualenvwrapper_bashrc
+
+Aangepaste .bashrc exporteren
+
+ source ~/.bashrc
+
+Nieuwe virtualenv omgeving aanmaken
+
+ mkvirtualenv envnaam
+
+Switch automatisch na aanmaak, anders activeren
+
+ workon envnaam
+
+Packages installeren
+
+ easy_install ipython
+ easy_install rdflib
+ cd tmp/rdfalchemy
+ python setup.py install
+ ...
+
+Virtualenv omgeving stoppen
+
+ deactivate
+
+Virtualenv omgeving verwijderen
+
+ rmvirtualenv envnaam

0 comments on commit c3cf6bb

Please sign in to comment.
Something went wrong with that request. Please try again.