Mercurial > kallithea
changeset 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 | 7ef7536bf8e7 |
children | 9bf8eb837e78 |
files | docs/contributing.rst docs/installation.rst docs/overview.rst |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 &
--- 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.
--- 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.