##// END OF EJS Templates
docs: suggest using pip instead of setup.py develop
Andrew Shadura -
r5726:250f8150 stable
parent child Browse files
Show More
@@ -35,7 +35,7 b' To get started with development::'
35 virtualenv ../kallithea-venv
35 virtualenv ../kallithea-venv
36 source ../kallithea-venv/bin/activate
36 source ../kallithea-venv/bin/activate
37 pip install --upgrade pip setuptools
37 pip install --upgrade pip setuptools
38 python2 setup.py develop
38 pip install -e .
39 paster make-config Kallithea my.ini
39 paster make-config Kallithea my.ini
40 paster setup-db my.ini --user=user --email=user@example.com --password=password --repos=/tmp
40 paster setup-db my.ini --user=user --email=user@example.com --password=password --repos=/tmp
41 paster serve my.ini --reload &
41 paster serve my.ini --reload &
@@ -40,7 +40,7 b' repository, follow the instructions belo'
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`.
@@ -96,7 +96,7 b' An additional benefit of virtualenv_ is '
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.
@@ -53,7 +53,7 b' installed.'
53 updating it is that you take advantage of the most recent improvements. Using
53 updating it is that you take advantage of the most recent improvements. Using
54 it directly from a DVCS also means that it is easy to track local customizations.
54 it directly from a DVCS also means that it is easy to track local customizations.
55
55
56 Running ``setup.py develop`` in the source will use pip to install the
56 Running ``pip install -e .`` in the source will use pip to install the
57 necessary dependencies in the Python environment and create a
57 necessary dependencies in the Python environment and create a
58 ``.../site-packages/Kallithea.egg-link`` file there that points at the Kallithea
58 ``.../site-packages/Kallithea.egg-link`` file there that points at the Kallithea
59 source.
59 source.
General Comments 0
You need to be logged in to leave comments. Login now