It seems Guido and many Pythoneers have spoken: enough of setuptools; long live distribute.
In order to make the switch I did the following on my Mac Snow Leopard install.
$ sudo -i easy_install distribute Searching for distribute Reading http://pypi.python.org/simple/distribute/ Best match: distribute 0.6.4 Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.4.tar.gz#md5=7a963679fddc64a0e363b2ccf8024952 Processing distribute-0.6.4.tar.gz Running distribute-0.6.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zoA4JL/distribute-0.6.4/egg-dist-tmp-8G2_zM Before install bootstrap. Scanning installed packages Setuptools installation detected at /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python Non-egg installation Removing elements out of the way... Renaming /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools-0.6c9-py2.6.egg-info into /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools-0.6c9-py2.6.egg-info.OLD.1255461962.96 Renaming /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools into /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools.OLD.1255461962.97 Renaming /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py into /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py.OLD.1255461962.97 Renaming /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/site.py into /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/site.py.OLD.1255461963.0 Patched done. Relaunching... Before install bootstrap. Scanning installed packages Setuptools installation detected at /private/tmp/easy_install-zoA4JL/distribute-0.6.4 Non-egg installation Could not locate setuptools*.egg-info After install bootstrap. Creating /Library/Python/2.6/site-packages/setuptools-0.6c9-py2.6.egg-info Creating /Library/Python/2.6/site-packages/setuptools.pth Copying distribute-0.6.4-py2.6.egg to /Library/Python/2.6/site-packages Adding distribute 0.6.4 to easy-install.pth file Installing easy_install script to /usr/local/bin Installing easy_install-2.6 script to /usr/local/bin Installed /Library/Python/2.6/site-packages/distribute-0.6.4-py2.6.egg Processing dependencies for distribute Finished processing dependencies for distribute
sudo -i was required to avoid environment mix-up according to my setup.
The first thing I checked was that I could do python setup.py install and python setup.py sdist for current trunk of Amara and Akara 2.x. That all seemed to work well.
Then I installed a package I hadn't done before: easy_install paver. I ran into environment problems and it turned out there was still the setuptools-based /usr/bin/easy_install in addition to the new /usr/local/bin/easy_install provided by Distribute. I solved this as follows:
sudo mv /usr/bin/easy_install /usr/bin/easy_install.save
So far things seem to be working OK.
See also:
For a good, non-trivial, setuptools-free setup.py example, see http://devel.sheep.art.pl/creole/file/tip/setup.py
