Migrate to native namespaces

Change-Id: Ib9fb3cce20a489c880199efc695d52b9d5db47ff
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2026-02-11 14:27:03 +00:00
parent 5404c75244
commit a6c53bc24d
4 changed files with 2 additions and 12 deletions

View File

@@ -8,13 +8,6 @@ home-page = https://github.com/lorenzofox3/Smart-Table
keywords = smart-table angular table angular_smart_table xstatic
license = (same as smart-table)
zip_safe = False
namespace_packages =
xstatic
xstatic.pkg
[files]
packages =
xstatic
[bdist_wheel]
universal = True

View File

@@ -1,4 +1,4 @@
from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages
from xstatic.pkg import angular_smart_table as xs
# The README.txt file should be written in reST so that PyPI can use
@@ -17,8 +17,7 @@ setup(
license=xs.LICENSE,
url=xs.HOMEPAGE,
platforms=xs.PLATFORMS,
packages=find_packages(),
namespace_packages=['xstatic', 'xstatic.pkg'],
packages=find_namespace_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[],

View File

@@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)

View File

@@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)