Skip to content

Commit da84cb1

Browse files
author
Kevin Wurster
committed
Include tests in package, but don't install. Supports downstream re-packaging so tests can be run.
1 parent be19a88 commit da84cb1

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
@@ -4,3 +4,4 @@ include LICENSE.txt
44
include MANIFEST.in
55
include README.rst
66
include setup.py
7+
recursive-include tests *.py

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
keywords='click plugin setuptools entry-point',
6363
license="New BSD",
6464
long_description=long_desc,
65-
packages=find_packages(exclude=['tests']),
65+
packages=find_packages(exclude=['tests.*', 'tests']),
6666
url=source,
6767
version=version,
6868
zip_safe=True

0 commit comments

Comments
 (0)