From 75ca99d2b443804c931f69998badb9b2a0c500f7 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Sun, 3 Oct 2021 16:13:24 -0500 Subject: [PATCH] build: Add MANIFEST.in with prune strategy * Use `prune **` to remove all files from the sdist - c.f. https://packaging.python.org/guides/using-manifest-in/#manifest-in-commands - "Setuptools also has undocumented support for ** matching zero or more characters including forward slash, backslash, and colon." * Manually include all "default" files for a sdist in MANIFEST.in - c.f. https://packaging.python.org/guides/using-manifest-in/#how-files-are-included-in-an-sdist * Include requirements.txt as not using declartive spec for setup --- MANIFEST.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..d23e8c0 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,11 @@ +prune ** +graft prettymaps + +include setup.py +include LICENSE +include README.md +include MANIFEST.in + +include requirements.txt + +global-exclude __pycache__ *.py[cod]