Exclude tests from wheel. Fixes #241.
This commit is contained in:
parent
f5d77a1dfb
commit
47b358351f
5
setup.py
5
setup.py
|
@ -22,6 +22,9 @@ else:
|
||||||
pkg_name = "rns"
|
pkg_name = "rns"
|
||||||
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
|
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
|
||||||
|
|
||||||
|
excluded_modules = exclude=["tests.*", "tests"]
|
||||||
|
packages = setuptools.find_packages(exclude=excluded_modules)
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version=__version__,
|
version=__version__,
|
||||||
|
@ -31,7 +34,7 @@ setuptools.setup(
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://reticulum.network/",
|
url="https://reticulum.network/",
|
||||||
packages=setuptools.find_packages(),
|
packages=packages,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
|
|
Loading…
Reference in New Issue