Mercurial > kallithea
comparison docs/installation.rst @ 5755:250f8150c4bb stable
docs: suggest using pip instead of setup.py develop
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Sat, 12 Mar 2016 14:35:43 +0100 |
parents | 4e9f5ef98dc4 |
children | 8075ec3d0233 b777b096d9a2 |
comparison
equal
deleted
inserted
replaced
5748:7ef7536bf8e7 | 5755:250f8150c4bb |
---|---|
38 hg clone https://kallithea-scm.org/repos/kallithea -u stable | 38 hg clone https://kallithea-scm.org/repos/kallithea -u stable |
39 cd kallithea | 39 cd kallithea |
40 virtualenv ../kallithea-venv | 40 virtualenv ../kallithea-venv |
41 source ../kallithea-venv/bin/activate | 41 source ../kallithea-venv/bin/activate |
42 pip install --upgrade pip setuptools | 42 pip install --upgrade pip setuptools |
43 python2 setup.py develop | 43 pip install -e . |
44 python2 setup.py compile_catalog # for translation of the UI | 44 python2 setup.py compile_catalog # for translation of the UI |
45 | 45 |
46 You can now proceed to :ref:`setup`. | 46 You can now proceed to :ref:`setup`. |
47 | 47 |
48 To upgrade, simply update the repository with ``hg pull -u`` and restart the | 48 To upgrade, simply update the repository with ``hg pull -u`` and restart the |
94 pip install kallithea | 94 pip install kallithea |
95 | 95 |
96 Alternatively, download a .tar.gz from http://pypi.python.org/pypi/Kallithea, | 96 Alternatively, download a .tar.gz from http://pypi.python.org/pypi/Kallithea, |
97 extract it and run:: | 97 extract it and run:: |
98 | 98 |
99 python2 setup.py install | 99 pip install . |
100 | 100 |
101 - This will install Kallithea together with pylons_ and all other required | 101 - This will install Kallithea together with pylons_ and all other required |
102 python libraries into the activated virtualenv. | 102 python libraries into the activated virtualenv. |
103 | 103 |
104 You can now proceed to :ref:`setup`. | 104 You can now proceed to :ref:`setup`. |