Skip to content

Commit 328a261

Browse files
author
Adam Nelson
committed
Re-instated references to setuptools
1 parent ef3cc7e commit 328a261

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

docs/dev/virtualenvs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ This creates a copy of Python in whichever directory you ran the command in,
4444
placing it in a folder named :file:`venv`.
4545

4646
You can also use the Python interpreter of your choice (like
47-
:file:`/usr/local/bin/python3`).
47+
:file:`/usr/bin/python2.7`).
4848

4949
.. code-block:: console
5050
51-
$ virtualenv -p /usr/local/bin/python3 venv
51+
$ virtualenv -p /usr/bin/python2.7 venv
5252
5353
or change the interpreter globally with an env variable in ``~/.bashrc``:
5454

5555
.. code-block:: console
5656
57-
$ export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
57+
$ export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.7
5858
5959
2. To begin using the virtual environment, it needs to be activated:
6060

docs/starting/install/osx.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The latest version of Mac OS X, El Capitan, **comes with Python 2.7 out of the b
1111
You do not need to install or configure anything else to use Python. Having said
1212
that, I would strongly recommend that you install the tools and libraries
1313
described in the next section before you start building Python applications for
14-
real-world use. In particular, you should always install ``pip``, as it makes
14+
real-world use. In particular, you should always install Setuptools, as it makes
1515
it much easier for you to install and manage other third-party Python libraries.
1616

1717
The version of Python that ships with OS X is great for learning but it's not
@@ -40,7 +40,7 @@ package.
4040
commandline tools by running ``xcode-select --install`` on the terminal.
4141

4242
While OS X comes with a large number of UNIX utilities, those familiar with
43-
Linux systems will notice one key component missing: a package manager.
43+
Linux systems will notice one key component missing: a decent package manager.
4444
`Homebrew <http://brew.sh>`_ fills this void.
4545

4646
To `install Homebrew <http://brew.sh/#install>`_, open :file:`Terminal` or
@@ -69,13 +69,18 @@ Now, we can install Python 2.7:
6969
This will take a minute or two.
7070

7171

72-
Pip
72+
Setuptools and Pip
7373
----------------
7474

75-
Homebrew installs ``pip`` for you.
75+
Homebrew installs Setuptools and ``pip`` for you.
76+
77+
Setuptools enables you to download and install any compliant Python
78+
-software over a network (usually the Internet) with a single command
79+
-(``easy_install``). It also enables you to add this network installation
80+
-capability to your own Python software with very little work.
7681

7782
``pip`` is a tool for easily installing and managing Python packages, that is
78-
recommended over the deprecated ``easy_install``. It is superior to
83+
recommended over ``easy_install``. It is superior to
7984
``easy_install`` in `several ways
8085
<https://python-packaging-user-guide.readthedocs.org/en/latest/pip_easy_install/#pip-vs-easy-install>`_,
8186
and is actively maintained.

docs/starting/installation.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@ If so, you do not need to install or configure anything else to use Python.
77
Having said that, I would strongly recommend that you install the tools and
88
libraries described in the guides below before you start building Python
99
applications for real-world use. In particular, you should always install
10-
Pip, and Virtualenv — they make it much easier for you to use
10+
Setuptools, Pip, and Virtualenv — they make it much easier for you to use
1111
other third-party Python libraries.
1212

1313
Installation Guides
1414
-------------------
1515

1616
These guides go over the proper installation of :ref:`Python <which-python>`
17-
for development purposes, as well as pip and virtualenv.
17+
for development purposes, as well as setuptools, pip and virtualenv.
1818

1919
- :ref:`Python 3 on Mac OS X <install3-osx>`.
20-
2120
- :ref:`Python 2 on Mac OS X <install-osx>`.
2221
- :ref:`Python 2 on Microsoft Windows <install-windows>`.
2322
- :ref:`Python 2 on Ubuntu Linux <install-linux>`.

0 commit comments

Comments
 (0)