Reorganize test dir to ensure test of installed pkg
This commit is contained in:
5
setup.py
5
setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
|
||||
with open(os.path.join("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__']
|
||||
@@ -19,7 +19,8 @@ setuptools.setup(
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/SystemRDL/PeakRDL-regblock",
|
||||
packages=['peakrdl.regblock'],
|
||||
package_dir={'': 'src'},
|
||||
packages=setuptools.find_namespace_packages("src", include=['peakrdl.*']),
|
||||
include_package_data=True,
|
||||
python_requires='>=3.6',
|
||||
install_requires=[
|
||||
|
||||
Reference in New Issue
Block a user