[Distutils] spurious warning when multiple ez_setup instances are present

Antoine Pitrou antoine.pitrou at wengo.com
Tue Apr 10 14:14:26 CEST 2007


Hi,

I occasionally get this warning when using a setuptools-enabled setup.py
from a third-party package:

/usr/lib/python2.5/site-packages/setuptools/command/sdist.py:3:
UserWarning: Module ez_setup was already imported
from /home/antoine/nose/config-file/ez_setup.pyc, but /home/antoine/XXX
is being added to sys.path

It seems to me that this warning conveys no useful information (yes,
several independent packages can have their own copy of ez_setup.py...
so what?), and that it would be better to remove it.

Regards

Antoine.




More information about the Distutils-SIG mailing list