Changeset 11382
- Timestamp:
- 23 Feb 2014, 13:37:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaua/trunk/INSTALL.txt
r11381 r11382 62 62 ======================= 63 63 64 We recommend use of `virtualenv`_ to create Python_ sandboxes where you 65 can run your code without touching any other installations. 66 67 If you don't already have ``easy_install`` available, you can find the 68 script to set it up on the `PEAK EasyInstall page`_. 69 70 .. _`PEAK EasyInstall page`: http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install 71 72 You need to download `ez_setup.py`_. Then, you run it like this to 73 install ``easy_install`` into your system Python:: 74 75 $ sudo python2.7 ez_setup.py 76 77 .. _`ez_setup.py`: http://peak.telecommunity.com/dist/ez_setup.py 78 79 This will make ``easy_install`` available to you. 80 81 .. note:: Sometimes you have ``easy_install`` installed but you need a 82 newer version of the underlying setuptools infrastructure to 83 make Grok work. You can upgrade setuptools with:: 84 85 $ sudo easy_install -U setuptools 86 87 Now you can install `virtualenv` by doing (as root):: 88 89 # easy_install-2.7 virtualenv 90 91 This step will fetch all needed sources from the internet and install 92 `virtualenv` locally in your Python2.7 installation. 64 We strongly suggest use of `virtualenv`_ to create Python_ sandboxes 65 where you can run your code without touching any other installations. 66 67 `virtualenv`_ is also the only possibility to build a `Kofa` install 68 without the need of superuser permissions. In short: `virtualenv`_ 69 will make your life easier. Use it. 70 71 Detailed install instructions for `virtualenv`_ can be found on 72 http://www.virtualenv.org/en/latest/virtualenv.html#installation. 73 74 The short way for a user install (no superuser perms required) is like 75 this:: 76 77 $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.4.tar.gz#md5=9accc2d3f0ec1da479ce2c3d1fdff06e 78 $ tar xvfz virtualenv-1.11.4.tar.gz 79 $ cd virtualenv-1.11.4 80 $ python virtualenv.py py27 81 82 Superusers can install `virtualenv`_ system-wide much easier. On 83 `Debian`_/`Ubuntu`_ systems where you have superuser permissions, you 84 can install `virtualenv`_ via:: 85 86 $ sudo apt-get install python-virtualenv 87 88 *Or*, if `pip` is installed already (superusers can install it via ``sudo apt-get install python-pip`` on `Debian`_/`Ubuntu`_):: 89 90 $ sudo pip install virtualenv 91 92 In the following, when referring to the `virtualenv` command, we talk 93 of the system-wide available command or the ``virtualenv.py`` script 94 installed for a local user. In the latter case you should read:: 95 96 $ virtualenv ... 97 98 as:: 99 100 $ python /path/to/my/virtualenv.py ... 93 101 94 102
Note: See TracChangeset for help on using the changeset viewer.