Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8d732e

Browse files
committed
Fill out one section
1 parent 4b000cd commit d8d732e

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

Doc/whatsnew/whatsnew25.tex

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,26 @@ \section{PEP 309: Partial Function Application}
7777
%======================================================================
7878
\section{PEP 314: Metadata for Python Software Packages v1.1}
7979

80-
XXX describe this PEP.
81-
distutils \function{setup()} now supports the \var{provides},
82-
\var{requires}, \var{obsoletes} keywords.
80+
Some simple dependency support was added to Distutils. The
81+
\function{setup()} function now has \code{requires},\code{provides},
82+
and \code{obsoletes}. When you build a source distribution using the
83+
\code{sdist} command, the dependency information will be recorded in
84+
the \file{PKG-INFO} file.
85+
86+
Another new keyword is \code{download_url}, which should be set to a
87+
URL for the package's source code. This means it's now possible to
88+
look up an entry in the package index, determine the dependencies for
89+
a package, and download the required packages.
90+
91+
% XXX put example here
92+
93+
\begin{seealso}
94+
95+
\seepep{314}{Metadata for Python Software Packages v1.1}{PEP proposed
96+
and written by A.M. Kuchling, Richard Jones, and Fred Drake;
97+
implemented by Richard Jones and Fred Drake.}
98+
99+
\end{seealso}
83100

84101

85102
%======================================================================

0 commit comments

Comments
 (0)