From e27518b92c764fb1838d6d6440bae96f85590ea4 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 25 Apr 2016 07:38:59 +0100 Subject: [PATCH] Include tests in release source tarball It would be great to include the test suite in the pypi release tarball. 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, it should catch mistakes in the packaging or errors in dependencies. I've written some more on this topic on the Debian Python mailing list. https://lists.debian.org/debian-python/2016/04/msg00074.html --- MAINFEST.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINFEST.in b/MAINFEST.in index 9c8317c..a6f4c6c 100644 --- a/MAINFEST.in +++ b/MAINFEST.in @@ -1,2 +1,3 @@ include LICENSE -include README.rst \ No newline at end of file +include README.rst +recursive-include tests *.py *.md