[Distutils] import problem using setuptools (resend without html)
henk-jan ebbers
hjebbers at gmail.com
Tue May 15 14:52:08 CEST 2007
I examined which modules python has imported (sys.modules).
when using the .exe in Scripts dir, most imports have 'mypackage' insert
before module name, eg: mypackage.b
but when importing from c.py, this does not happen; it is imported as b
So python thinks it is another module....
This does not happen when running start.py directly (as 'python start.py')
So I guess this is something done by setuptools, probably pkg_resources
But...how do I solve this problem?
best regards, Henk-Jan
More information about the Distutils-SIG
mailing list