]> granicus.if.org Git - python/commitdiff
Change reST targets in setup.cfg spec.
authorÉric Araujo <merwok@netwok.org>
Sun, 5 Jun 2011 23:54:54 +0000 (01:54 +0200)
committerÉric Araujo <merwok@netwok.org>
Sun, 5 Jun 2011 23:54:54 +0000 (01:54 +0200)
I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope
of the spec is not limited to packaging: it’s intended as a language-agnostic
document for packaging tools developers as well as Python authors.

Doc/packaging/commandhooks.rst
Doc/packaging/setupcfg.rst

index fd333574b584343c7c98d829c4d8742f2ca12d64..0a3d04419cec231c60c375248ca94ff68c660891 100644 (file)
@@ -11,7 +11,7 @@ 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`.
+See also global setup hooks in :ref:`setupcfg-spec`.
 
 
 Sample usage of hooks
index a195d5a70a3deffd43a1e12c0022159a68052b6f..af903044da58a805a0485cdec25c1f399bcffce0 100644 (file)
@@ -1,6 +1,6 @@
 .. highlightlang:: cfg
 
-.. _packaging-setupcfg:
+.. _setupcfg-spec:
 
 *******************************************
 Specification of the :file:`setup.cfg` file
@@ -387,7 +387,7 @@ The final paths where files will be placed are composed by : **source** +
 **destination**. In the previous example, **doc/doc.man** will be placed in
 **destination_doc/doc/doc.man** and **scripts/foo.sh** will be placed in
 **destination_scripts/scripts/foo.sh**. (If you want more control on the final
-path, take a look at base_prefix_).
+path, take a look at :ref:`setupcfg-resources-base-prefix`).
 
 The **destination** part of resources declaration are paths with categories.
 Indeed, it's generally a bad idea to give absolute path as it will be cross
@@ -511,7 +511,7 @@ Your **files** section will be::
 More control on destination part
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-.. _base_prefix:
+.. _setupcfg-resources-base-prefix:
 
 Defining a base prefix
 """"""""""""""""""""""