@@ -36,33 +36,30 @@ packages are installed, so it is a very useful addition.
36
36
You do not need to install or configure anything else to use Python. Having
37
37
said that, I would strongly recommend that you install the tools and libraries
38
38
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
40
40
makes it much easier for you to use other third-party Python libraries.
41
41
42
- Distribute + Pip
42
+ Setuptools + Pip
43
43
----------------
44
44
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
46
46
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
48
48
download and install any compliant Python software product with a single
49
49
command. It also enables you to add this network installation capability to
50
50
your own Python software with very little work.
51
51
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 >`_
54
54
55
55
56
56
You'll now have a new command available to you: **easy_install **. It is
57
57
considered by many to be deprecated, so we will install its replacement:
58
58
**pip **. Pip allows for uninstallation of packages, and is actively maintained,
59
59
unlike easy_install.
60
60
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 >`_
66
63
67
64
68
65
Virtualenv
@@ -89,7 +86,7 @@ project's directory
89
86
90
87
.. code-block :: console
91
88
92
- > virtualenv --distribute venv
89
+ > virtualenv venv
93
90
94
91
To use an environment, run the ``activate.bat `` batch file in the ``Scripts ``
95
92
subdirectory of that environment. Your command prompt will change to show the
0 commit comments