Added a ez_setup to replace distribute_setup. ez_setup become defacto. Closes #1264

This commit is contained in:
Takayuki Shimizukawa
2013-10-03 05:55:58 +00:00
parent b37f385810
commit e81a2d884e
5 changed files with 380 additions and 550 deletions

View File

@@ -118,24 +118,25 @@ Install the easy_install command
Python has a very useful :command:`easy_install` command which can download and
install 3rd-party libraries with a single command. This is provided by the
"distribute" project: http://pypi.python.org/pypi/distribute.
"setuptools" project: http://pypi.python.org/pypi/setuptools.
To install distribute, download http://distribute.org/distribute_setup.py and
To install setuptools, download
https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py and
save it somewhere. After download, invoke the command prompt, go to the
directory with distribute_setup.py and run this command:
directory with ez_setup.py and run this command:
.. code-block:: bat
C:\> python distribute_setup.py
C:\> python ez_setup.py
Now distribute and its :command:`easy_install` command is installed. From there
Now setuptools and its :command:`easy_install` command is installed. From there
we can go to the Sphinx install.
Installing Sphinx with easy_install
-----------------------------------
If you finished the installation of distribute, type this line in the command
If you finished the installation of setuptools, type this line in the command
prompt:
.. code-block:: bat