Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace package problem #1

Open
kalxas opened this issue May 20, 2016 · 1 comment
Open

Namespace package problem #1

kalxas opened this issue May 20, 2016 · 1 comment

Comments

@kalxas
Copy link
Member

kalxas commented May 20, 2016

/usr/local/ckan/default/pyenv/src/ckanext-interlinking> python setup.py develop
running develop
running egg_info
creating ckanext_interlinking.egg-info
writing ckanext_interlinking.egg-info/PKG-INFO
writing namespace_packages to ckanext_interlinking.egg-info/namespace_packages.txt
writing top-level names to ckanext_interlinking.egg-info/top_level.txt
writing dependency_links to ckanext_interlinking.egg-info/dependency_links.txt
writing entry points to ckanext_interlinking.egg-info/entry_points.txt
writing manifest file 'ckanext_interlinking.egg-info/SOURCES.txt'
error: Namespace package problem: ckanext is a namespace package, but its
init.py does not call declare_namespace()! Please fix it.
(See the setuptools manual under "Namespace Packages" for details.)

@drmalex07
Copy link
Member

drmalex07 commented May 20, 2016

This __init__.py (https://github.com/PublicaMundi/ckanext-interlinking/blob/master/ckanext/__init__.py)
shouldnt be empty, it should declare the namespace, exactly as in https://github.com/PublicaMundi/ckanext-publicamundi/blob/master/ckanext/__init__.py.

This is not optional, because if you dont, it results to a name conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants