comparison docs/installation.rst @ 6754:b777b096d9a2 stable

setup: don't use setuptools 34 - it has indirect conflicts with the celery version supported on the stable branch (Issue #266) Setuptools==34 requires packaging>=16.8 which has an unconstrained requirement of pyparsing ... but actually it doesn't work with pyparsing==1.5.7 ... which is required by celery<2.3 ... which this version of Kallithea requires. Celery has been upgraded on the development branch but we don't want to do that on the stable branch.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 14 May 2017 01:12:56 +0200
parents 250f8150c4bb
children 19af3fef3b34
comparison
equal deleted inserted replaced
6753:799915ed5d27 6754:b777b096d9a2
37 37
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<34"
43 pip install -e . 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
67 67
68 - Activate the virtualenv_ in your current shell session and make sure the 68 - Activate the virtualenv_ in your current shell session and make sure the
69 basic requirements are up-to-date by running:: 69 basic requirements are up-to-date by running::
70 70
71 source /srv/kallithea/venv/bin/activate 71 source /srv/kallithea/venv/bin/activate
72 pip install --upgrade pip setuptools 72 pip install --upgrade pip "setuptools<34"
73 73
74 .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it 74 .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it
75 will "activate" a shell that terminates immediately. It is also perfectly 75 will "activate" a shell that terminates immediately. It is also perfectly
76 acceptable (and desirable) to create a virtualenv as a normal user. 76 acceptable (and desirable) to create a virtualenv as a normal user.
77 77