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
pull/68/head
Matthew Feickert 2021-10-03 16:13:24 -05:00
rodzic c32b3019ad
commit 75ca99d2b4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7C897ED848B0F976
1 zmienionych plików z 11 dodań i 0 usunięć

11
MANIFEST.in 100644
Wyświetl plik

@ -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]