Code review comment for lp:~elopio/u1-test-utils/namespace

Revision history for this message
Leo Arias (elopio) wrote :

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
    not declare_namespace(); setuptools 0.7 will REQUIRE this!
    (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+

« Back to merge proposal