diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2005-04-09 23:59:41 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2005-04-09 23:59:41 (GMT) |
commit | d8d732e7d2513d0a4743ece4cfb8267fc5522a3c (patch) | |
tree | e115d57d642013d6f88d0a287ab88dbc1f0a30a2 /Doc | |
parent | 4b000cd819d52f16c8c0c1cb4e3314355eaf5ca7 (diff) | |
download | cpython-d8d732e7d2513d0a4743ece4cfb8267fc5522a3c.zip cpython-d8d732e7d2513d0a4743ece4cfb8267fc5522a3c.tar.gz cpython-d8d732e7d2513d0a4743ece4cfb8267fc5522a3c.tar.bz2 |
Fill out one section
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew25.tex | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index 28b07a5..2e49e21 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} %====================================================================== |