Phillip J. Eby
pje at telecommunity.com
Wed Nov 2 20:26:03 CET 2005
At 10:39 AM 11/2/2005 -0600, Ian Bicking wrote:
>Oleg Broytmann wrote:
> > Hello!
> > When I test a new patch I set PYTHONPATH=. and run
> > py.test sqlobject/test/test_something.py
> > Until today it works pretty good. Unfortunately, setuptools-0.6a7 has
> > got an additional intelligence and now spits this warning:
> UserWarning: Module sqlobject was already imported from
> is being added to sys.path
> > warn(
> > (I don't know what this 'warn(' means.)
> > How can I stop setuptools-0.6a7 from being so clever? or at least how to
> > eliminate this warning?
Try running 'setup.py egg_info' before trying to run the tests. Most
likely, the problem is because your checkout doesn't contain any egg
metadata, so the runtime system can't tell that '.' is actually an egg, or
what version it has.
More information about the Distutils-SIG