Skip to content

Commit 81ef6ba

Browse files
authored
fix: Packaging the tests, or not (#287)
* exclude tests from binary distribution * include tests in source distribution
1 parent 6a74972 commit 81ef6ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
graft tests/

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
author_email="[email protected]",
1616
url="https://github.com/ionrock/cachecontrol",
1717
keywords="requests http caching web",
18-
packages=setuptools.find_packages(),
18+
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
1919
package_data={"": ["LICENSE.txt"]},
2020
package_dir={"cachecontrol": "cachecontrol"},
2121
include_package_data=True,

0 commit comments

Comments
 (0)