Skip to content
Snippets Groups Projects
Commit 29b6259f authored by jkerdreu's avatar jkerdreu
Browse files

Fix setuptools wrong namespaces

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1620 b32b6428-25c9-4566-ad07-03861ab6144f
parent 46323c04
No related branches found
No related tags found
No related merge requests found
from setuptools import setup
from setuptools import setup,find_packages
import fastentrypoints
with open('README.rst') as f:
......@@ -21,8 +21,7 @@ setup(
],
keywords=['xaal', 'tools'],
platforms='any',
packages=["xaal.tools",],
namespace_packages=["xaal"],
packages=find_packages(),
include_package_data=True,
entry_points = {
......
# this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
from setuptools import setup
from setuptools import setup,find_packages
with open('README.rst') as f:
long_description = f.read()
......@@ -21,8 +21,7 @@ setup(
],
keywords=['xaal', 'home-automation'],
platforms='any',
packages=["xaal.lib",],
namespace_packages=["xaal"],
packages=find_packages(),
include_package_data=True,
install_requires=["ujson>=1.33","pysodium","configobj"],
)
# this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment