Skip to content

Commit

Permalink
fix: Packaging the tests, or not (#287)
Browse files Browse the repository at this point in the history
* exclude tests from binary distribution

* include tests in source distribution
  • Loading branch information
dimbleby authored May 29, 2023
1 parent 6a74972 commit 81ef6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graft tests/
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
author_email="[email protected]",
url="https://github.com/ionrock/cachecontrol",
keywords="requests http caching web",
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
package_data={"": ["LICENSE.txt"]},
package_dir={"cachecontrol": "cachecontrol"},
include_package_data=True,
Expand Down

0 comments on commit 81ef6ba

Please sign in to comment.