summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-06 14:30:42 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-06 14:30:42 (GMT)
commit6ef038e78c0c76e77b2561a154182264b7b9907a (patch)
tree1767930e70a0d9445dd4309584939cf080316831 /Doc/using
parentde4f05b741aacf545d2fb844329d930877117ee2 (diff)
downloadcpython-6ef038e78c0c76e77b2561a154182264b7b9907a.zip
cpython-6ef038e78c0c76e77b2561a154182264b7b9907a.tar.gz
cpython-6ef038e78c0c76e77b2561a154182264b7b9907a.tar.bz2
Add documentation for PEP 370 features in distutils (#10745).
This started out as an easy task, just add a section describing this alternate scheme, but I found a lot of cleanup to do along the way: - fixed inverted reST targets - fixed entries for modules (hi abiflags!) or data files - avoided duplicating the same options listing five or six times - added missing entries for C headers locations - added documentation for --install-lib - fixed a few misuses of the option role (see #9312), but not all (not worth the time, but will do it in packaging docs) - fixed some markup The paths fixes were done with an eye on the source code in the install command, so they really describe what’s actually done. The situation on Mac OS X is rather messy: the fix for #8084 touched site and sysconfig, but distutils doesn’t use these files. I suspect we have a mismatched stdlib at the moment, and the fix is not even clear (see the bug report for further discussion).
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index bbc654e..851c2eb 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -481,7 +481,8 @@ These environment variables influence Python's behavior.
Defines the :data:`user base directory <site.USER_BASE>`, which is used to
compute the path of the :data:`user site-packages directory <site.USER_SITE>`
- and Distutils installation paths for ``python setup.py install --user``.
+ and :ref:`Distutils installation paths <inst-alt-install-user>` for ``python
+ setup.py install --user``.
.. seealso::