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
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