From 42cf00956911500b9e2c351e138d7ec94e9011fc Mon Sep 17 00:00:00 2001 From: Lukas Puehringer Date: Fri, 17 May 2019 13:32:09 +0200 Subject: [PATCH] Add MANIFEST.in to include files in source distro MANIFEST.in is used to specify files (patterns) to be added to the source distribution (e.g. on `python setup.py sdist`) in addition to files that are added by default. This commit configures MANIFEST.in to add files that are important/helpful for downstream packagers, i.e. readme, license, tests and test data and config. Kudos to @koobs for bringing this to our attention. --- MANIFEST.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..23f932fd --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,12 @@ +include README.rst +include LICENSE + +# Add tests and test data +recursive-include tests *.py +recursive-include tests/data * + +# Add test config files to show how to run tests +include tests/.coveragerc +include tox.ini +include .travis.yml +include *requirements.txt