From 2d531f9c6f21874da9855b486eb5bf36d1334fbd Mon Sep 17 00:00:00 2001 From: Min RK <benjaminrk@gmail.com> Date: Tue, 9 Aug 2016 18:49:44 +0200 Subject: [PATCH] emphasize pip Since pip is the current standard for Python installation, use it in the examples instead of the easy_install commands. Recommend `pip install .` for local installation, and `pip install -e .` for develop. Also remove `easy_install` as the first recommendation for installing packages, in favor of `pip`. --- minimal.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/minimal.rst b/minimal.rst index 0547d77..cea8b7f 100644 --- a/minimal.rst +++ b/minimal.rst @@ -56,11 +56,11 @@ The main setup config file, ``setup.py``, should contain a single call to ``setu Now we can install the package locally (for use on our system), with:: - $ python setup.py install + $ pip install . We can also install the package with a symlink, so that changes to the source files will be immediately available to other users of the package on our system:: - $ python setup.py develop + $ pip install -e . Anywhere else in our system using the same Python, we can do this now:: @@ -107,11 +107,7 @@ For a detailed list of all available setup.py commands, do:: Installing the Package ~~~~~~~~~~~~~~~~~~~~~~ -At this point, other consumers of this package can install the package with ``easy_install``:: - - easy_install funniest - -Or better yet, ``pip``:: +At this point, other consumers of this package can install the package with ``pip``:: $ pip install funniest