summaryrefslogtreecommitdiffstats
path: root/Doc/packaging
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-04 16:46:25 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-04 16:46:25 (GMT)
commit823759e7672b95ced55b9d5a757faab47bdb5c2c (patch)
treec10cf004baf42a305d50a0ccd072e24c787313c5 /Doc/packaging
parent088025fc5bb10711db53d16788c202e3852e3777 (diff)
downloadcpython-823759e7672b95ced55b9d5a757faab47bdb5c2c.zip
cpython-823759e7672b95ced55b9d5a757faab47bdb5c2c.tar.gz
cpython-823759e7672b95ced55b9d5a757faab47bdb5c2c.tar.bz2
Add reST target for Doc/packaging/setupcfg
Diffstat (limited to 'Doc/packaging')
-rw-r--r--Doc/packaging/commandhooks.rst5
-rw-r--r--Doc/packaging/setupcfg.rst2
2 files changed, 7 insertions, 0 deletions
diff --git a/Doc/packaging/commandhooks.rst b/Doc/packaging/commandhooks.rst
index 8dc233b..fd33357 100644
--- a/Doc/packaging/commandhooks.rst
+++ b/Doc/packaging/commandhooks.rst
@@ -1,3 +1,5 @@
+.. TODO integrate this in commandref and configfile
+
=============
Command hooks
=============
@@ -9,6 +11,9 @@ The pre-hooks are run after the command is finalized (its options are
processed), but before it is run. The post-hooks are run after the command
itself. Both types of hooks receive an instance of the command object.
+See also global setup hooks in :ref:`packaging-setupcfg`.
+
+
Sample usage of hooks
=====================
diff --git a/Doc/packaging/setupcfg.rst b/Doc/packaging/setupcfg.rst
index 68786b2..9af8b63 100644
--- a/Doc/packaging/setupcfg.rst
+++ b/Doc/packaging/setupcfg.rst
@@ -1,5 +1,7 @@
.. highlightlang:: cfg
+.. _packaging-setupcfg:
+
*******************************************
Specification of the :file:`setup.cfg` file
*******************************************