Skip to content

Commit 49106a9

Browse files
committed
Include tests in release source tarball
A test suite is a very useful thing, it would be great to include in the release tarball that is uploaded to pypi. That way people who download and build the release can run the tests to ensure the library is working. Linux distributions, such as Debian, base their packages of Python modules on the pypi release. This means the test suite can be run when building a Debian package, and so catch mistakes in the packaging or errors introduced into dependencies. I've written a more detailed description of my thinking on the Debian Python mailing list: https://lists.debian.org/debian-python/2016/04/msg00074.html
1 parent 9e4aa55 commit 49106a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include *.txt *.in *.rst
22
recursive-include examples *.txt *.py
3+
recursive-include tests *.py

0 commit comments

Comments
 (0)