mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fill out one section
This commit is contained in:
parent
4b000cd819
commit
d8d732e7d2
1 changed files with 20 additions and 3 deletions
|
@ -77,9 +77,26 @@ Raymond Hettinger.}
|
||||||
%======================================================================
|
%======================================================================
|
||||||
\section{PEP 314: Metadata for Python Software Packages v1.1}
|
\section{PEP 314: Metadata for Python Software Packages v1.1}
|
||||||
|
|
||||||
XXX describe this PEP.
|
Some simple dependency support was added to Distutils. The
|
||||||
distutils \function{setup()} now supports the \var{provides},
|
\function{setup()} function now has \code{requires},\code{provides},
|
||||||
\var{requires}, \var{obsoletes} keywords.
|
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}
|
||||||
|
|
||||||
|
|
||||||
%======================================================================
|
%======================================================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue