Skip to content

Commit

Permalink
emphasize pip
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
minrk authored Aug 9, 2016
1 parent c50abb2 commit 2d531f9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions minimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2d531f9

Please sign in to comment.