[Distutils] namespace packages

David Cournapeau cournape at gmail.com
Thu Apr 22 09:49:52 CEST 2010

On Thu, Apr 22, 2010 at 1:10 PM, P.J. Eby <pje at telecommunity.com> wrote:
> At 10:18 AM 4/22/2010 +0900, David Cournapeau wrote:
>> One problem with the setuptools implementation is
>> that several packages sharing the same namespace have files in common,
> If that were actually true (it isn't), then it would be considered a bug in
> setuptools.
> When you build a package for system packaging (using install --root or any
> of the bdist_* tools that use install --root internally), setuptools
> specifically excludes __init__.py* files from installation, and replaces
> them with uniquely-named '-nspkg.pth' files, similar function to PEP 382's
> package marker files, except with more complicated innards.

I did not know about the --root option interaction with namespace
package, but I don't really see how that solve the problem when root
is not an option (when using stow for example).



More information about the Distutils-SIG mailing list