coh2/pastycake — Issue #2: switch from distutils to distribute
Author: coh2
Created: 2012-01-29 22:39:01+00:00
State: open
Labels: todo/fixme

distribute would allow these things that seem to be amiss (``grep -R -l entry_point ~/Doc/Python-2.7.1``, ``grep -R -l entry_point /usr/lib{,64}/python2.7/ | grep distutil``) from distutils:

* entry points (one could remove ``harvest.py`` from the source but it would still be an executable upon install [1])
* entry points (in order to allow add-ons/extensions/plugins/ [2])
* entry points (requirements spec for extras that are bundled with the package [3]), and finally
* entry points (execute an egg without having to install it [4])

[5] recommends to either use distutils or distribute, so we're safe anyhow.

[1] http://packages.python.org/distribute/setuptools.html?highlight=entry_points#automatic-script-creation
[2] http://packages.python.org/distribute/setuptools.html?highlight=entry_points#dynamic-discovery-of-services-and-plugins
[3] http://packages.python.org/distribute/setuptools.html?highlight=entry_points#declaring-extras-optional-features-with-their-own-dependencies
[4] http://packages.python.org/distribute/setuptools.html?highlight=entry_points#eggsecutable-scripts
[5] http://guide.python-distribute.org/introduction.html#current-state-of-packaging, 2nd paragraph, last sentence.