Hi.

I have a package named A, with a subpackage B, and I want to create a
namespace package A.B.C.

In the namespace package setup file I set
  namespace_packages=['A', 'A.B'],

and I use declare_namespace in both A/__init__.py and A/B/__init__.py
modules.

However if I:
1) install A package
2) install A.B.C package

importing A.B.C will raise an ImportError exception.

If I reinstall A package, then it seems to work.

Where is the problem?


Thanks  Manlio
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to