mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added a ez_setup to replace distribute_setup. ez_setup become defacto. Closes #1264
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user