[Distutils] spurious warning when multiple ez_setup instances are present
antoine.pitrou at wengo.com
Wed Apr 11 12:03:13 CEST 2007
Le mardi 10 avril 2007 à 12:19 -0400, Phillip J. Eby a écrit :
> This isn't a warning about ez_setup specifically - it's a warning that
> occurs whenever an imported module will be shadowed by an egg being added
> to sys.path.
Thanks, I see.
> Further investigation suggests that the issue is actually find_packages(),
> which includes 'ez_setup' as a package if run against the project root
> without 'exclude=["ez_setup"]'. In other words, you can get rid of this
> message by changing the find_packages() call being used in the package at
Well, find_packages() isn't used at all.
The situation is that :
- /home/antoine/nose/config-file/ez_setup.py is an ez_setup.py bundled
with nose (see http://python-nose.googlecode.com/svn/trunk/ for the nose
- /home/antoine/XXX is another package which does an SVN external
reference to the ez_setup SVN (svn://svn.eby-sarna.com/svnroot/ez_setup)
That's why two different ez_setup versions end up "conflicting".
It seems to me that bundling ez_setup as a convenience for the package
user is a common idiom, or is it deprecated?
More information about the Distutils-SIG