[Distutils] Conflict between egg and standard package with same namespace

Andreas Jung lists at zopyx.com
Wed Jun 13 21:09:50 CEST 2007

In my setup I have a zopyx.slimp egg inside site-package and a package
zopyx.txng3. With this setup I can not longer import files from the 
zopyx.txng3 package.

ajung at galactica:~> ls /opt/python-2.4.3/lib/python2.4/site-packages/zopyx*

__init__.py  __init__.pyc  txng3

ajung at galactica:~> python2.4
Python 2.4.4 (#4, Oct 19 2006, 21:09:46)
[GCC 4.1.0 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import zopyx.txng3
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named txng3
>>> import zopyx.slimp

After removing the egg it is possible to  import zopyx.txng3  again.
Is this a bug or setuptools misconception?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070613/c1b1cb51/attachment.pgp 

More information about the Distutils-SIG mailing list