On Sun, Dec 23, 2012 at 4:04 AM, Václav Šmilauer <[email protected]> wrote: > I would like to declare empty namespace package "A.B" inside the setup.py of > "A", but I am getting > > error in A setup command: Distribution contains no modules or package > for namespace package "A.B".
You need an __init__.py for A.B, even if that __init__.py is empty except apart from the namespace declaration. (Which is always required). > I am using setuptools 0.6.28. Technically, you're using Distribute 0.6.28. Setuptools doesn't have a release with that version number. ;-) _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
