From: Andrew M. Kuchling Date: Sat, 9 Apr 2005 23:59:41 +0000 (+0000) Subject: Fill out one section X-Git-Tag: v2.5a0~1827 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8d732e7d2513d0a4743ece4cfb8267fc5522a3c;p=python Fill out one section --- diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index 28b07a5e10..2e49e211b3 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -77,9 +77,26 @@ Raymond Hettinger.} %====================================================================== \section{PEP 314: Metadata for Python Software Packages v1.1} -XXX describe this PEP. - distutils \function{setup()} now supports the \var{provides}, - \var{requires}, \var{obsoletes} keywords. +Some simple dependency support was added to Distutils. The +\function{setup()} function now has \code{requires},\code{provides}, +and \code{obsoletes}. When you build a source distribution using the +\code{sdist} command, the dependency information will be recorded in +the \file{PKG-INFO} file. + +Another new keyword is \code{download_url}, which should be set to a +URL for the package's source code. This means it's now possible to +look up an entry in the package index, determine the dependencies for +a package, and download the required packages. + +% XXX put example here + +\begin{seealso} + +\seepep{314}{Metadata for Python Software Packages v1.1}{PEP proposed +and written by A.M. Kuchling, Richard Jones, and Fred Drake; +implemented by Richard Jones and Fred Drake.} + +\end{seealso} %======================================================================