Switch to use regular non-namespaced package

This commit is contained in:
Alex Mykyta
2022-06-09 20:24:53 -07:00
parent 693040d145
commit 8d13a9d7fe
52 changed files with 26 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
with open(os.path.join("src/peakrdl/regblock", "__about__.py"), encoding='utf-8') as f:
with open(os.path.join("src/peakrdl_regblock", "__about__.py"), encoding='utf-8') as f:
v_dict = {}
exec(f.read(), v_dict)
version = v_dict['__version__']
@@ -20,7 +20,7 @@ setuptools.setup(
long_description_content_type="text/markdown",
url="https://github.com/SystemRDL/PeakRDL-regblock",
package_dir={'': 'src'},
packages=setuptools.find_namespace_packages("src", include=['peakrdl.*']),
packages=setuptools.find_packages("src"),
include_package_data=True,
python_requires='>=3.6',
install_requires=[