Size: 1286
Comment:
|
← Revision 41 as of 2019-06-22 19:01:22 ⇥
Size: 799
Comment: remove obsolete information so people will be directed to official guide
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Submitting Packages to the Cheese Shop = | A short introduction on how to install packages from the [[https://pypi.org/pypi|Python Package Index (PyPI)]], and how to make, distribute and upload your own. |
Line 3: | Line 3: |
There are two types of information that may be submitted to the Cheese Shop: 1. package meta-data (name, version, description, etc), and 2. package source and binary distribution files. == Package Meta-Data == You may submit package meta-data either by: 1. writing a [https://docs.python.domainunion.de/dist/setup-script.html setup.py file] and using "python setup.py register" (see [https://docs.python.domainunion.de/dist/package-index.html docs]), 2. creating a PKG-INFO file (typically generated from a setup.py file) and uploading it, or 3. using the [https://cheeseshop.python.org/pypi?%3Aaction=submit_form web form] and manually entering the information. == Package Distribution Files == You may submit package distribution files either by: 1. appending the "upload" command to a setup.py [https://docs.python.domainunion.de/dist/source-dist.html source dist] or [https://docs.python.domainunion.de/dist/built-dist.html built dist] command, eg "python setup.py sdist upload", or 2. 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. |
'''This guide is no longer being maintained''' - more up-to-date and complete information is in the [[https://packaging.python.org/|Python Packaging User Guide]]. To see what was previously in this page, please visit [[https://wiki.python.domainunion.de/moin/CheeseShopTutorial?action=recall&rev=40|the previous edit]] in [[https://wiki.python.domainunion.de/moin/CheeseShopTutorial?action=info|the wiki page history]]. Thank you to the writers who created this documentation! If you believe anything that was this page is missing from the current Python Packaging User Guide, please file [[https://github.com/pypa/packaging.python.org/issues/|an issue]]! |
A short introduction on how to install packages from the Python Package Index (PyPI), and how to make, distribute and upload your own.
This guide is no longer being maintained - more up-to-date and complete information is in the Python Packaging User Guide. To see what was previously in this page, please visit the previous edit in the wiki page history. Thank you to the writers who created this documentation! If you believe anything that was this page is missing from the current Python Packaging User Guide, please file an issue!