Verified Commit 92f98f95 authored by Štěpán Henek's avatar Štěpán Henek 🌩

setup.py: using namespace_packages attribute

parent 0f7f2b0e
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
......@@ -55,6 +55,9 @@ setup(
"static/js/contrib/*",
],
},
namespace_packages=[
'foris_plugins',
],
cmdclass={
"build_py": BuildCmd, # modify build_py to build the foris files as well
}
......
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
......@@ -112,6 +112,9 @@ setup(
"utils/*.pickle2",
]
},
namespace_packages=[
'foris_plugins',
],
cmdclass={
"build_py": BuildCmd,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment