diff --git a/newsfragments/158.misc.rst b/newsfragments/158.misc.rst new file mode 100644 index 0000000..d55c70c --- /dev/null +++ b/newsfragments/158.misc.rst @@ -0,0 +1 @@ +Remove the `tests` folder from wheel files. This reduces the zipped file size by 20KB (about 30%). diff --git a/setup.py b/setup.py index 8a4a4e5..73713e2 100644 --- a/setup.py +++ b/setup.py @@ -12,12 +12,9 @@ author="Nathaniel J. Smith", author_email="njs@pobox.com", license="MIT", - packages=find_packages(), + packages=find_packages(exclude=["h11.tests"]), package_data={'h11': ['py.typed']}, url="https://github.com/python-hyper/h11", - # This means, just install *everything* you see under h11/, even if it - # doesn't look like a source file, so long as it appears in MANIFEST.in: - include_package_data=True, python_requires=">=3.8", classifiers=[ "Development Status :: 3 - Alpha",