Differences between revisions 40 and 56 (spanning 16 versions)
Revision 40 as of 2009-04-07 17:41:13
Size: 2389
Editor: tarek
Comment:
Revision 56 as of 2015-11-21 15:09:39
Size: 4239
Editor: NickCoghlan
Comment: Direct readers to PyPUG & PyPA
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from DistUtils
## page was renamed from DistUtils_Foo
## page was renamed from DistUtils_
Line 6: Line 3:
Distutils is by now the standard mechanism to distribute Python packages and extensions, and appeared in Python 1.6. It runs under 1.5.2 though, but you have to install it (once) to use it for that Python version. Distutils is a mechanism to distribute Python packages and extensions provided in the Python standard library since Python 1.6.
Line 8: Line 5:
=== Current status ===
Line 9: Line 7:
=== Pycon work === Maintenance of the Python packaging ecosystem has largely moved away from the standard library and the CPython core development team and is now being handled by distutils-sig and the Python Packaging Authority.
Line 11: Line 9:
 * [[DistutilsVersionFight]] : the goal is to come up with a proposal in distutils-SIG  * For up to date user focused documentation, refer to the Python Packaging User Guide: https://packaging.python.org
 * For more details on the Python Packaging Authority, its goals, and current activities: https://www.pypa.io

{{{#!wiki caution
The rest of this page and its subpages relate to a previous attempt at improving the Python packaging ecosystem, known as distutils2. Much of it can likely be deleted, but it should be reviewed first to see if any of it should be preserved.
}}}

----
== Historical distutils2 focused content ==

 * [[Distutils/DiscussionOverview]]
 * plugin systems, entry points
 * static metadata
 * testing infrastructure

=== Past distutils2 work ===
 * [[Distutils/Terminology]]: New terminology
 * [[Distutils/VersionComparison]] : the goal is to come up with a version comparison system that superseds Distutils' current one
Line 16: Line 31:
 * [[Distutils/Friends]] : the goal is to try to find a project, a person or a group of person on each platform that is willing   * [[Distutils/Friends]] : the goal is to try to find a project, a person or a group of person on each platform that is willing
Line 18: Line 33:
 * [[Distutils/ManifestPluginSystem]] : a plugin system to build the MANIFEST file  * [[Distutils/PluginSystem]] : a Plugin system to extend commands
 * [[Dist
utils/TestingInfrastructure]] : Testing infrastructure
Line 27: Line 43:
 * [[http://www.mechanicalcat.net/tech/pypi/pypi-xmlrpc.html|PyPI's XML-RPC interface]] for querying the packages database  * [[http://wiki.python.org/moin/PyPiXmlRpc|PyPI's XML-RPC interface]] for querying the packages database
Line 40: Line 56:

==== History ====
Distutils module was included in standard distribution in Python 1.6. It was back in year 2000. Before that Distutils was available in Python 1.5.2 as a separate download. [[http://www.python.org/doc/1.6/dist/dist.html|Since then]] Distutils expanded with new commands, but after almost 10 years basic principles stays the same - there is central '''setup.py''' file, which everybody can add its own code to. There is configuration '''setup.cfg''' where you can set default options for supported Distutils commands. The flexibility that Distutils architecture promotes, the lack of conventions and API that enforces them resulted in that there still no way to uninstall or list installed packages/modules, no way to query their versions either. Absence of clear border between Distutils and custom code places additional burden on newcomers in Distutils packaging that prefer to learn by example from some other existing configuration.
Line 41: Line 61:

[[Distutils/DistributeSprint]] : Sprint ideas

Distutils

Distutils is a mechanism to distribute Python packages and extensions provided in the Python standard library since Python 1.6.

Current status

Maintenance of the Python packaging ecosystem has largely moved away from the standard library and the CPython core development team and is now being handled by distutils-sig and the Python Packaging Authority.

The rest of this page and its subpages relate to a previous attempt at improving the Python packaging ecosystem, known as distutils2. Much of it can likely be deleted, but it should be reviewed first to see if any of it should be preserved.


Historical distutils2 focused content

Past distutils2 work

Learning Distutils

Documentation

Projects

  • /Projects - please add a listing to this page if you're working on Distutils (and help us reduce duplication of effort)

  • /Extensions is a repository of extensions for your "setup.py".

Tutorials

History

Distutils module was included in standard distribution in Python 1.6. It was back in year 2000. Before that Distutils was available in Python 1.5.2 as a separate download. Since then Distutils expanded with new commands, but after almost 10 years basic principles stays the same - there is central setup.py file, which everybody can add its own code to. There is configuration setup.cfg where you can set default options for supported Distutils commands. The flexibility that Distutils architecture promotes, the lack of conventions and API that enforces them resulted in that there still no way to uninstall or list installed packages/modules, no way to query their versions either. Absence of clear border between Distutils and custom code places additional burden on newcomers in Distutils packaging that prefer to learn by example from some other existing configuration.

Misc.

Distutils/DistributeSprint : Sprint ideas

/Proposals

#distutils - irc channel for Distutils

Distutils (last edited 2015-11-21 15:09:39 by NickCoghlan)

Unable to edit the page? See the FrontPage for instructions.