mirror of
https://github.com/marceloprates/prettymaps.git
synced 2026-05-31 11:19:27 +02:00
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
This commit is contained in:
+11
@@ -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]
|
||||
Reference in New Issue
Block a user