From ce609a4552d3784277b29d97663c78d99c936052 Mon Sep 17 00:00:00 2001 From: William Jones Date: Thu, 4 Mar 2021 09:17:28 +0000 Subject: [PATCH] Exclude tests/ --- MANIFEST.in | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 0ee5a822..803960d6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include *.rst recursive-include docs *.rst include requirements.txt -recursive-include tests *.py \ No newline at end of file +prune tests diff --git a/setup.py b/setup.py index 3b5bcde8..7ffe63df 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', ], - packages=find_packages(), + packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), include_package_data=True, install_requires=["requests", "inflection", "certifi", "six", "pytz"], zip_safe=False