# HG changeset patch # User Andrew Shadura # Date 1457789743 -3600 # Node ID 250f8150c4bb0ca00dcb92f49ce9a475545863e8 # Parent 7ef7536bf8e7e6a31f9497621aea0cc866968bec docs: suggest using pip instead of setup.py develop diff -r 7ef7536bf8e7 -r 250f8150c4bb docs/contributing.rst --- a/docs/contributing.rst Wed Feb 24 13:32:33 2016 +0100 +++ b/docs/contributing.rst Sat Mar 12 14:35:43 2016 +0100 @@ -35,7 +35,7 @@ virtualenv ../kallithea-venv source ../kallithea-venv/bin/activate pip install --upgrade pip setuptools - python2 setup.py develop + pip install -e . paster make-config Kallithea my.ini paster setup-db my.ini --user=user --email=user@example.com --password=password --repos=/tmp paster serve my.ini --reload & diff -r 7ef7536bf8e7 -r 250f8150c4bb docs/installation.rst --- a/docs/installation.rst Wed Feb 24 13:32:33 2016 +0100 +++ b/docs/installation.rst Sat Mar 12 14:35:43 2016 +0100 @@ -40,7 +40,7 @@ virtualenv ../kallithea-venv source ../kallithea-venv/bin/activate pip install --upgrade pip setuptools - python2 setup.py develop + pip install -e . python2 setup.py compile_catalog # for translation of the UI You can now proceed to :ref:`setup`. @@ -96,7 +96,7 @@ Alternatively, download a .tar.gz from http://pypi.python.org/pypi/Kallithea, extract it and run:: - python2 setup.py install + pip install . - This will install Kallithea together with pylons_ and all other required python libraries into the activated virtualenv. diff -r 7ef7536bf8e7 -r 250f8150c4bb docs/overview.rst --- a/docs/overview.rst Wed Feb 24 13:32:33 2016 +0100 +++ b/docs/overview.rst Sat Mar 12 14:35:43 2016 +0100 @@ -53,7 +53,7 @@ updating it is that you take advantage of the most recent improvements. Using it directly from a DVCS also means that it is easy to track local customizations. - Running ``setup.py develop`` in the source will use pip to install the + Running ``pip install -e .`` in the source will use pip to install the necessary dependencies in the Python environment and create a ``.../site-packages/Kallithea.egg-link`` file there that points at the Kallithea source.