Changeset 11383
- Timestamp:
- 23 Feb 2014, 13:45:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaua/trunk/INSTALL.txt
r11382 r11383 104 104 ================== 105 105 106 This step is only necessary (and recommended) if you installed 107 `virtualenv` before. 108 109 As a normal user you now can create a sandbox for your upcoming work 110 by:: 111 112 $ virtualenv --no-site-packages mysandbox 113 114 where ``mysandbox`` is a directory in the filesystem where your 115 sandbox will be created. `virtualenv` will also create this directory 116 for you. 106 After installing `virtualenv`_ you can install local sandboxes like 107 this:: 108 109 $ virtualenv --no-site-packages py27 110 111 where ``py27`` is a directory in the filesystem where your sandbox 112 will be created. `virtualenv` will also create this directory for 113 you. It is recommended to use a sandbox name that is short and at the 114 same time reflects the Python version used (here: Python 2.7). 117 115 118 116 By passing the ``no-site-packages`` switch we tell `virtualenv` to 119 117 provide us a clean environment without any extra-packages installed 120 systemwide. 118 systemwide. More recent versions of `virtualenv`_ have this option set 119 by default. 120 121 Another often used option of `virtualenv`_ is ``-p``. With ``-p`` you 122 can tell `virtualenv`_ which Python executable to use as base for the 123 new sandbox. 121 124 122 125 You now can activate the sandbox by doing:: 123 126 124 $ source mysandbox/bin/activate 127 $ source py27/bin/activate 128 (py27)$ 125 129 126 130 You will notice that the input prompt changes. … … 128 132 To deactivate the sandbox at any time, enter:: 129 133 130 ( sandbox27)$ deactivate134 (py27)$ deactivate 131 135 132 136 and the prompt will be the same as before the activation. … … 142 146 sources of Kofa from the subversion server:: 143 147 144 ( sandbox27)$ cd mysandbox/145 ( sandbox27)$ svn co https://svn.waeup.org/repos/main/waeup.kofa/trunk kofa-trunk148 (py27)$ cd mysandbox/ 149 (py27)$ svn co https://svn.waeup.org/repos/main/waeup.kofa/trunk kofa-trunk 146 150 147 151 where ``kofa-trunk`` is only a name we've chosen here to make clear
Note: See TracChangeset for help on using the changeset viewer.