mirror of
https://github.com/python/cpython.git
synced 2026-01-08 16:32:55 +00:00
Add PEP 243 section
This commit is contained in:
parent
f69a24c6ac
commit
6a67e4ead4
1 changed files with 26 additions and 1 deletions
|
|
@ -3,7 +3,6 @@
|
|||
% $Id$
|
||||
|
||||
% Fix XXX comments
|
||||
% Distutils upload (PEP 243)
|
||||
% The easy_install stuff
|
||||
% Stateful codec changes
|
||||
% ASCII is now default encoding for modules
|
||||
|
|
@ -35,6 +34,32 @@ If you want to understand the complete implementation and design
|
|||
rationale, refer to the PEP for a particular new feature.
|
||||
|
||||
|
||||
%======================================================================
|
||||
\section{PEP 243: Uploading Modules to PyPI}
|
||||
|
||||
PEP 243 describes an HTTP-based protocol for submitting software
|
||||
packages to a central archive. The Python package index at
|
||||
\url{http://cheeseshop.python.org} now supports package uploads, and
|
||||
the new \command{upload} Distutils command will upload a package to the
|
||||
repository.
|
||||
|
||||
Before a package can be uploaded, you must be able to build a
|
||||
distribution using the \command{sdist} Distutils command. Once that
|
||||
works, you can run \code{python setup.py upload} to add your package
|
||||
to the PyPI archive. Optionally you can GPG-sign the package by
|
||||
supplying the \programopt{--sign} and
|
||||
\programopt{--identity} options.
|
||||
|
||||
\begin{seealso}
|
||||
|
||||
\seepep{243}{Module Repository Upload Mechanism}{PEP written by
|
||||
Sean Reifschneider; implemented by Martin von L\"owis
|
||||
and Richard Jones. Note that the PEP doesn't exactly
|
||||
describe what's implemented in PyPI.}
|
||||
|
||||
\end{seealso}
|
||||
|
||||
|
||||
%======================================================================
|
||||
\section{PEP 308: Conditional Expressions}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue