Merge lp:~elopio/u1-test-utils/namespace into lp:u1-test-utils
Proposed by
Leo Arias
Status: | Rejected |
---|---|
Rejected by: | Leo Arias |
Proposed branch: | lp:~elopio/u1-test-utils/namespace |
Merge into: | lp:u1-test-utils |
Diff against target: |
20 lines (+4/-0) 2 files modified
canonical/__init__.py (+3/-0) setup.py (+1/-0) |
To merge this branch: | bzr merge lp:~elopio/u1-test-utils/namespace |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Online Services QA | Pending | ||
Canonical ISD hackers | Pending | ||
Review via email:
|
Commit message
Fixed the packaging details to allow other projects to use the canonical namespace.
Description of the change
Fixed the packaging details to allow other projects to use the canonical namespace.
To post a comment you must log in.
When I imported the new project for sso actions that uses the same canonical namespace, I couldn't import this one anymore. So, I added namespace_packages = ['canonical'] to the package and it started working again. But, this warning appeared:
WARNING: canonical is a namespace package, but its __init__.py does namespace( ); setuptools 0.7 will REQUIRE this!
not declare_
(See the setuptools manual under "Namespace Packages" for details.)
Following [1], I added declare_namespace to the __init__ file.
[1] http:// packages. python. org/distribute/ setuptools. html#namespace- packages+