Skip to content

Commit 3514445

Browse files
committed
Remove unnecessary files from source distributions.
Right now GitHub is the main place to track the source and the sources uploaded to PyPI are just to build with. I don't need to upload fonts, tools, or tool configs to PyPI.
1 parent 07bf13c commit 3514445

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

MANIFEST.in

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1-
include *.py *.cfg *.txt *.rst *.toml
1+
global-exclude .*
2+
prune .*
3+
4+
include *.py
5+
include *.txt
6+
include *.rst
7+
include *.toml
8+
include *.md
29

310
recursive-include tcod *.py *.c *.h
411

12+
prune libtcod
513
recursive-include libtcod/src *.glsl* *.c *.h
6-
include libtcod/*.txt libtcod/*.md tests/data/*.pkl
14+
include libtcod/*.txt
15+
include libtcod/*.md
16+
17+
prune docs
18+
prune examples
19+
prune fonts
20+
prune scripts
21+
prune tests
722

8-
exclude tcod/*/SDL2.dll
23+
global-exclude *.dll

0 commit comments

Comments
 (0)