May 2, 2010
12:40 p.m.
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
5885
Age (days ago)
5885
Last active (days ago)
0 comments
1 participants
participants (1)
-
Manlio Perillo