diff --git a/setup.py b/setup.py index 030714abc..ff2d44b9a 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ def get_requirements(filename): with open(os.path.join(ROOT, filename)) as f: return [line.rstrip() for line in f] + try: from sphinx.setup_command import BuildDoc cmdclass = {'build_sphinx': BuildDoc} @@ -107,7 +108,7 @@ def get_requirements(filename): python_requires='>=3', - packages=find_packages(exclude=("test",)), + packages=find_packages(exclude=("test", "test.*")), setup_requires=['pytest-runner'], tests_require=['pytest', 'pytest-cov', 'pillow'], @@ -121,7 +122,7 @@ def get_requirements(filename): entry_points=entry_points, - classifiers = [ + classifiers=[ 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3 :: Only',