Commit b3c572ba authored by Georg Brandl's avatar Georg Brandl

Fix #1012: wrong URL to :mod:`site` in install/index.rst.

parent 3376a9a7
...@@ -604,8 +604,6 @@ value of ``sys.path``. :: ...@@ -604,8 +604,6 @@ value of ``sys.path``. ::
The null string in ``sys.path`` represents the current working directory. The null string in ``sys.path`` represents the current working directory.
.. % $ <-- bow to font-lock
The expected convention for locally installed packages is to put them in the The expected convention for locally installed packages is to put them in the
:file:`{...}/site-packages/` directory, but you may want to install Python :file:`{...}/site-packages/` directory, but you may want to install Python
modules into some arbitrary directory. For example, your site may have a modules into some arbitrary directory. For example, your site may have a
...@@ -624,9 +622,8 @@ installing fixed versions of standard modules.) ...@@ -624,9 +622,8 @@ installing fixed versions of standard modules.)
Paths can be absolute or relative, in which case they're relative to the Paths can be absolute or relative, in which case they're relative to the
directory containing the :file:`.pth` file. Any directories added to the search directory containing the :file:`.pth` file. Any directories added to the search
path will be scanned in turn for :file:`.pth` files. See `site module path will be scanned in turn for :file:`.pth` files. See the documentation of
documentation <http://www.python.org/dev/doc/devel/lib/module-site.html>`_ for the :mod:`site` module for more information.
more information.
A slightly less convenient way is to edit the :file:`site.py` file in Python's A slightly less convenient way is to edit the :file:`site.py` file in Python's
standard library, and modify ``sys.path``. :file:`site.py` is automatically standard library, and modify ``sys.path``. :file:`site.py` is automatically
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment