On Thu, Apr 22, 2010 at 1:10 PM, P.J. Eby <[email protected]> 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). cheers, David _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
