summaryrefslogtreecommitdiffstats
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2017-11-24 05:00:23 +0100
committerThomas Waldmann <tw@waldmann-edv.de>2017-11-25 13:48:46 +0100
commitfeb428b4e012686d42cf0240663660757dcf231a (patch)
tree79974d0539a9d3c8b62b9146bb1c5e0907483d5c /MANIFEST.in
parentafc84cafd40cd638d1ab0258ea740845646d3170 (diff)
clean up and simplify packaging
1.1.2 was released with a sdist that included quite some files that did not belong into the package (I tried nuitka at some time). This was because the old MANIFEST.in / setup.py included all the stuff in the package dir. Now, setuptools_scm is to automatically deal with the INCLUDES and MANIFEST.in only handles the EXCLUDES, so only committed files get into the sdist (minus some we do not want). Also, no .c .h .pyx files will be installed - they are not needed as they have been compiled into binary files.
Diffstat (limited to 'MANIFEST.in')
-rw-r--r--MANIFEST.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index bdabc64d0..f3233beaf 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,8 +1,6 @@
-include README.rst AUTHORS LICENSE CHANGES.rst MANIFEST.in
-exclude .coafile .coveragerc .gitattributes .gitignore .travis.yml Vagrantfile
+# stuff we need to include into the sdist is handled automatically by
+# setuptools_scm - it includes all git-committed files.
+# but we want to exclude some committed files/dirs not needed in the sdist:
+exclude .coafile .coveragerc .editorconfig .gitattributes .gitignore .mailmap .travis.yml Vagrantfile
prune .travis
prune .github
-graft src
-graft docs
-prune docs/_build
-global-exclude *.pyc *.orig *.so *.dll