diff --git a/setup.py b/setup.py index 760c429..f74b2a6 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,7 @@ setup( author_email=EMAIL, python_requires=REQUIRES_PYTHON, url=URL, - packages=find_packages(exclude=('tests',)), + packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]), # If your package is a single module, use this instead of 'packages': # py_modules=['mypackage'],