Skip to content

Commit b07a194

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#315 from MalcolmEvershed/patch-1
New Pip requires Setuptools instead of Distribute
2 parents ad9a656 + ddef4fc commit b07a194

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

docs/starting/install/win.rst

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,30 @@ packages are installed, so it is a very useful addition.
3636
You do not need to install or configure anything else to use Python. Having
3737
said that, I would strongly recommend that you install the tools and libraries
3838
described in the next section before you start building Python applications for
39-
real-world use. In particular, you should always install Distribute, as it
39+
real-world use. In particular, you should always install Setuptools, as it
4040
makes it much easier for you to use other third-party Python libraries.
4141

42-
Distribute + Pip
42+
Setuptools + Pip
4343
----------------
4444

45-
The most crucial third-party Python software of all is Distribute, which
45+
The most crucial third-party Python software of all is Setuptools, which
4646
extends the packaging and installation facilities provided by the distutils in
47-
the standard library. Once you add Distribute to your Python system you can
47+
the standard library. Once you add Setuptools to your Python system you can
4848
download and install any compliant Python software product with a single
4949
command. It also enables you to add this network installation capability to
5050
your own Python software with very little work.
5151

52-
To obtain the latest version of Distribute for Windows, run the python script
53-
available here: `python-distribute <http://python-distribute.org/distribute_setup.py>`_
52+
To obtain the latest version of Setuptools for Windows, run the python script
53+
available here: `ez_setup.py <https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py>`_
5454

5555

5656
You'll now have a new command available to you: **easy_install**. It is
5757
considered by many to be deprecated, so we will install its replacement:
5858
**pip**. Pip allows for uninstallation of packages, and is actively maintained,
5959
unlike easy_install.
6060

61-
To install pip, simply open a command prompt and run
62-
63-
.. code-block:: console
64-
65-
> easy_install pip
61+
To install pip, run the python script available here:
62+
`get-pip.py <https://raw.github.com/pypa/pip/master/contrib/get-pip.py>`_
6663

6764

6865
Virtualenv
@@ -89,7 +86,7 @@ project's directory
8986

9087
.. code-block:: console
9188
92-
> virtualenv --distribute venv
89+
> virtualenv venv
9390
9491
To use an environment, run the ``activate.bat`` batch file in the ``Scripts``
9592
subdirectory of that environment. Your command prompt will change to show the

0 commit comments

Comments
 (0)