Skip to content

Add myria namespace package to package metadata #54

@senderista

Description

@senderista

Currently myria-cluster conflicts with myria-python because both packages define modules in the same root namespace myria. The solution should be for both packages to add the "namespace package" myria to their package metadata: http://setuptools.readthedocs.io/en/latest/setuptools.html#namespace-packages.

This requires that all packages sharing the same "root namespace" separately declare it in setup.py as a "namespace package":

setup(
    # ...
    namespace_packages = ['myria']
)

In the __init__.py corresponding to the namespace package:

__import__('pkg_resources').declare_namespace(__name__)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions