Exclude tests from wheel. Fixes #241.

This commit is contained in:
Mark Qvist 2023-03-07 16:30:40 +01:00
parent f5d77a1dfb
commit 47b358351f

View File

@ -22,6 +22,9 @@ else:
pkg_name = "rns"
requirements = ['cryptography>=3.4.7', 'pyserial>=3.5', 'netifaces']
excluded_modules = exclude=["tests.*", "tests"]
packages = setuptools.find_packages(exclude=excluded_modules)
setuptools.setup(
name=pkg_name,
version=__version__,
@ -31,7 +34,7 @@ setuptools.setup(
long_description=long_description,
long_description_content_type="text/markdown",
url="https://reticulum.network/",
packages=setuptools.find_packages(),
packages=packages,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",