Problem: setup.py
of several Python projects blindly import the
setuptools bootstrap module ez_setup.py
without realizing that it is usually
not installed in the user's machine.
This causes much trouble.
Workaround: Include ez_setup.py
(and distribute_setup.py
) as an
installable Python package so users can do
easy_install ez_setup troublesome_package
as a workaround.
Note: The ez_setup.py
file being distributed is simply a copy of
distribute_setup.py
from the Distribute
project (a setuptools fork); this is
to remain compatible with several Python distributors opting to use Distribute
instead of Setuptools -- examples: Debian, ActiveState, and so on.