summaryrefslogtreecommitdiffstats
path: root/Doc/packaging
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-06 14:58:15 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-06 14:58:15 (GMT)
commit7dc76fdeb14e0a2bf1248d78c2439b5a244f8885 (patch)
treec1713816362d4310d28e81f27073cfedb7743429 /Doc/packaging
parent29f6297605fba9f7313b2aeaf2ddbb06653cfdbb (diff)
parent6ef038e78c0c76e77b2561a154182264b7b9907a (diff)
downloadcpython-7dc76fdeb14e0a2bf1248d78c2439b5a244f8885.zip
cpython-7dc76fdeb14e0a2bf1248d78c2439b5a244f8885.tar.gz
cpython-7dc76fdeb14e0a2bf1248d78c2439b5a244f8885.tar.bz2
Merge doc changes from 3.2 (#8617, #10745).
In the install and library docs, I changed the text to refer to packaging instead of distutils. I also checked that the documented paths correctly reflect what’s really defined in sysconfig; the main difference with paths defined in distutils.install is that include directories don’t end with the distribution name anymore (i.e. distutils uses include/python3.3/spam, sysconfig include/python3.3), I have no idea why.
Diffstat (limited to 'Doc/packaging')
-rw-r--r--Doc/packaging/commandref.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/packaging/commandref.rst b/Doc/packaging/commandref.rst
index 5fe802f..0ec7505 100644
--- a/Doc/packaging/commandref.rst
+++ b/Doc/packaging/commandref.rst
@@ -12,6 +12,12 @@ their options.
description. Use pysetup run <command> --help to get help about the options
of one command.
+.. XXX sections from this document should be merged with other docs (e.g. check
+ and upload with uploading.rst, install_* with install/install.rst, etc.);
+ there is no value in partially duplicating information. this file could
+ however serve as an index, i.e. just a list of all commands with links to
+ every section that describes options or usage
+
Preparing distributions
=======================
@@ -310,13 +316,8 @@ the target system.
-----------------------
Install a distribution, delegating to the other :command:`install_*` commands to
-do the work.
-
-.. program:: packaging install_dist
-
-.. cmdoption:: --user
-
- Install in user site-packages directory (see :PEP:`370`).
+do the work. See :ref:`packaging-how-install-works` for complete usage
+instructions.
:command:`install_data`