Using setuptools features with distutils scripts

»

A quick and dirty way to use setuptools commands (such as develop, bdist_egg, etc.) given a standard distutils setup.py file is to just add an "import setuptools" statement to the top of the script. This can also be done without modifying the setup.py as such:

python -c "import setuptools; execfile('setup.py')" develop

It would be cool if setuptools shipped with a script for this, or if buildutils had that functionality built-in.