From ad61322e2e526e2f1e41ebec6a7b53f374279df3 Mon Sep 17 00:00:00 2001 From: Matt Iversen Date: Wed, 18 Dec 2013 05:06:31 +1100 Subject: [PATCH] Update README's bootstrapping advice distribute is now deprecated, and its functionality merged into the setuptools project. I updated the readme's advice to reflect this, and the recommended way of getting pip as well (using https urls, which `easy_install` won't use). --- README.rst | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 3410a314..3f90ddcd 100644 --- a/README.rst +++ b/README.rst @@ -36,15 +36,16 @@ connectivity. Installation ------------ -Couchapp requires Python 2.5x or sup. To install couchapp using -easy_install you must make sure you have a recent version of distribute -installed:: +Couchapp requires Python 2.5x or greater. Couchapp is most easily installed +using the latest versions of the standard python packaging tools, setuptools +and pip. They may be installed like so:: - $ curl -O http://python-distribute.org/distribute_setup.py - $ sudo python distribute_setup.py - $ easy_install pip + $ curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py + $ sudo python ez_setup.py + $ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py + $ sudo python get-pip.py -To install or upgrade to the latest released version of couchapp:: +Installing couchapp is then simply a matter of:: $ pip install couchapp @@ -52,14 +53,14 @@ On OSX 10.6/10.7 you may need to set ARCH_FLAGS:: $ env ARCHFLAGS="-arch i386 -arch x86_64" pip install couchapp -To install/upgrade development version:: +To install/upgrade a development version of couchapp:: - $ pip install git+http://github.com/couchapp/couchapp.git#egg=Couchapp + $ pip install -e git+http://github.com/couchapp/couchapp.git#egg=Couchapp Note: some installations need to use *sudo* command beafore each command line. -Note on debian system don't forget to install python-dev. +Note: on debian system don't forget to install python-dev. To install on windows follow instructions `here `_.