[Python-Dev] Implementing PEP 382, Namespace Packages (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Mon May 31 09:59:40 CEST 2010


The PEP says the goal is to span packages across directories. If you split something like zope into multiple directories, does having a separate zope.pth file in each of those directories really cause a problem here?

I think pje already answered this: yes, you do split zope into multiple packages. But then, you may install all of them into the same folder. This has caused pain for Linux package management tools in particular, because they dislike if to packages install the same file. So if you can arrange the pth files to have non-overlapping names, you can still install them into the same directory, and dpkg is happy.

Regards, Martin



More information about the Python-Dev mailing list