⇤ ← Revision 1 as of 2006-07-15 04:16:00
1286
Comment:
|
1360
|
Deletions are marked like this. | Additions are marked like this. |
Line 19: | Line 19: |
The Cheese Shop assumes that the PKG-INFO file is either ASCII or UTF-8. |
Submitting Packages to the Cheese Shop
There are two types of information that may be submitted to the Cheese Shop:
- package meta-data (name, version, description, etc), and
- package source and binary distribution files.
Package Meta-Data
You may submit package meta-data either by:
writing a [http://docs.python.org/dist/setup-script.html setup.py file] and using "python setup.py register" (see [http://docs.python.org/dist/package-index.html docs]),
- creating a PKG-INFO file (typically generated from a setup.py file) and uploading it, or
using the [http://cheeseshop.python.org/pypi?%3Aaction=submit_form web form] and manually entering the information.
The Cheese Shop assumes that the PKG-INFO file is either ASCII or UTF-8.
Package Distribution Files
You may submit package distribution files either by:
appending the "upload" command to a setup.py [http://docs.python.org/dist/source-dist.html source dist] or [http://docs.python.org/dist/built-dist.html built dist] command, eg "python setup.py sdist upload", or
- logging into the Cheese Shop and using the package management interface to manually upload files.
The "upload" command has a number of options, including being able to sign the upload using GPG. See "python setup.py upload --help" for more information.