From ba329e6dd8345eaa348a7c33fb8f71e5e20c2b44 Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Sun, 2 Jun 2019 22:47:20 +1000 Subject: [PATCH] Include test/__init__.py and test/rsrc in sdist Without these files tests can't be run directly from the unpacked sdist tarball. Closes #13. --- MANIFEST.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 6a51c41..f505a33 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,15 @@ include LICENSE README.rst +# Include the Sphinx documentation. recursive-include docs *.rst *.py Makefile *.png prune docs/_build +# Include tests without pyc etc. +prune test +recursive-include test/rsrc * +recursive-exclude test/rsrc *.pyc +recursive-exclude test/rsrc *.pyo +include test/*.py + # Exclude junk. global-exclude .DS_Store