mirror of https://github.com/django/django.git
Removed sudo from pip commands in docs.
This commit is contained in:
parent
24aa85cea9
commit
37b13033c6
|
@ -6,7 +6,7 @@ This allows it to be built into other forms for easier viewing and browsing.
|
||||||
|
|
||||||
To create an HTML version of the docs:
|
To create an HTML version of the docs:
|
||||||
|
|
||||||
* Install Sphinx (using ``sudo pip install Sphinx`` or some other method)
|
* Install Sphinx (using ``pip install Sphinx`` or some other method)
|
||||||
|
|
||||||
* In this docs/ directory, type ``make html`` (or ``make.bat html`` on
|
* In this docs/ directory, type ``make html`` (or ``make.bat html`` on
|
||||||
Windows) at a shell prompt.
|
Windows) at a shell prompt.
|
||||||
|
|
|
@ -12,7 +12,7 @@ dependencies and is easy to install and use.
|
||||||
Installing Gunicorn
|
Installing Gunicorn
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Installing gunicorn is as easy as ``sudo pip install gunicorn``. For more
|
Installing gunicorn is as easy as ``pip install gunicorn``. For more
|
||||||
details, see the `gunicorn documentation`_.
|
details, see the `gunicorn documentation`_.
|
||||||
|
|
||||||
.. _gunicorn documentation: http://docs.gunicorn.org/en/latest/install.html
|
.. _gunicorn documentation: http://docs.gunicorn.org/en/latest/install.html
|
||||||
|
|
|
@ -27,7 +27,7 @@ Alternatively, you can also install it with ``pip``:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ sudo pip install reportlab
|
$ pip install reportlab
|
||||||
|
|
||||||
Test your installation by importing it in the Python interactive interpreter::
|
Test your installation by importing it in the Python interactive interpreter::
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ __ http://sphinx-doc.org/
|
||||||
__ http://docutils.sourceforge.net/
|
__ http://docutils.sourceforge.net/
|
||||||
|
|
||||||
To actually build the documentation locally, you'll currently need to install
|
To actually build the documentation locally, you'll currently need to install
|
||||||
Sphinx -- ``sudo pip install Sphinx`` should do the trick.
|
Sphinx -- ``pip install Sphinx`` should do the trick.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ You can get a local copy of the HTML documentation following a few easy steps:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ sudo pip install Sphinx
|
$ pip install Sphinx
|
||||||
|
|
||||||
* Then, just use the included ``Makefile`` to turn the documentation into
|
* Then, just use the included ``Makefile`` to turn the documentation into
|
||||||
HTML:
|
HTML:
|
||||||
|
|
|
@ -326,7 +326,7 @@ psycopg2
|
||||||
After you've installed the KyngChaos binaries and modified your ``PATH``, as
|
After you've installed the KyngChaos binaries and modified your ``PATH``, as
|
||||||
described above, ``psycopg2`` may be installed using the following command::
|
described above, ``psycopg2`` may be installed using the following command::
|
||||||
|
|
||||||
$ sudo pip install psycopg2
|
$ pip install psycopg2
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ or if you are on Mac OS X:
|
||||||
After modifying ``setup.cfg`` appropriately, then run the ``setup.py`` script
|
After modifying ``setup.cfg`` appropriately, then run the ``setup.py`` script
|
||||||
to build and install::
|
to build and install::
|
||||||
|
|
||||||
$ sudo python setup.py install
|
$ python setup.py install
|
||||||
|
|
||||||
.. _spatialite_macosx:
|
.. _spatialite_macosx:
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ or times, please try installing it before filing a bug. It's as simple as:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ sudo pip install pytz
|
$ pip install pytz
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue