Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ddef4fc

Browse filesBrowse files
New Pip requires Setuptools instead of Distribute
Also remove --distribute option from virtualenv since that is obsolete.
1 parent ad9a656 commit ddef4fc
Copy full SHA for ddef4fc

File tree

Expand file treeCollapse file tree

1 file changed

+9
-12
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-12
lines changed

‎docs/starting/install/win.rst

Copy file name to clipboardExpand all lines: docs/starting/install/win.rst
+9-12Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.