From 42eaded701c1405f8e47051b4c3e050279fbc74a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 17 Jan 2010 23:33:53 +0000 Subject: Fix internal reference. --- Doc/distutils/examples.rst | 5 ++++- Doc/whatsnew/2.7.rst | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst index 35de57e..60656e7 100644 --- a/Doc/distutils/examples.rst +++ b/Doc/distutils/examples.rst @@ -285,8 +285,11 @@ by using the `docutils` parser:: warning: check: Title underline too short. (line 2) warning: check: Could not finish the parsing. + +.. _reading-metadata: + Reading the metadata -===================== +==================== The :func:`distutils.core.setup` function provides a command-line interface that allows you to query the metadata fields of a project through the diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index be58df3..124f247 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -612,8 +612,8 @@ changes, or look through the Subversion logs for all the details. The :class:`distutils.dist.DistributionMetadata` class' :meth:`read_pkg_file` method will read the contents of a package's - :file:`PKG-INFO` metadata file. For an example of its use, - XXX link to file:///MacDev/svn.python.org/python-trunk/Doc/build/html/distutils/examples.html#reading-the-metadata + :file:`PKG-INFO` metadata file. For an example of its use, see + :ref:`reading-metadata`. (Contributed by Tarek Ziade; :issue:`7457`.) :file:`setup.py` files will now accept a :option:`--no-user-cfg` switch -- cgit v0.12