[Distutils] Bilingual namespace package conundrum

Barry Warsaw barry at python.org
Tue Jan 13 16:25:08 CET 2015

On Jan 13, 2015, at 02:39 PM, Robert Collins wrote:

>Welcome to hell :)

Well, purgatory maybe.  I patched the lazr packages I cared about. :)

>So I dug down ridiculously deep into this when investigating a very
>similar issue in the openstack space. I have an alternative solution
>to the ones mentioned already - use importlib2 and patch the importer
>(e.g. in a local site.py) to allow genuine namespaces to work. (Its
>nearly there - just needs a little more love I think).

I like the idea in theory, but I'm not sure how general of a solution this
will be.  Not everyone can or will want to install the custom importer just to
get real namespace packages in Python 2.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150113/e15cf570/attachment.sig>

More information about the Distutils-SIG mailing list