-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMANIFEST.in
More file actions
38 lines (37 loc) · 1.93 KB
/
Copy pathMANIFEST.in
File metadata and controls
38 lines (37 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Sdist contents beyond Python sources. Wheels take their data files from
# [tool.setuptools.package-data] in pyproject.toml; this manifest keeps sdists
# complete so a wheel rebuilt from the sdist ships the same resources.
# Named individually rather than sts2/data/*.json: that wildcard swept up any
# JSON sitting in the data dir, including user state a legacy install left
# behind (see migrate_state_from_data_dir in app.py), so it had to be undone
# by exclude lines that warned on every build when the file wasn't there.
# An allowlist cannot sweep in what it does not name. test_packaging.py
# asserts this list still covers every tracked data file, so a new one that
# is not added here fails the suite instead of silently not shipping.
include sts2/data/badges.json
include sts2/data/cards.json
include sts2/data/enemies.json
include sts2/data/epochs.json
include sts2/data/events.json
include sts2/data/patches.json
include sts2/data/potions.json
include sts2/data/relics.json
include sts2/data/strategy.json
include sts2/data/last_updated.txt
include sts2/data/mods/README.md
recursive-include sts2/templates *.html
recursive-include sts2/static *
include sts2/locales/*.json
# Never ship: user-built game-text overlays (not ours to redistribute) and
# local working files that .gitignore keeps out of the repo.
prune sts2/locales/content
# No exclude for sts2/data/.fetcher_keys.json, user state, or anything else in
# the data dir: the allowlist above cannot reach them, so an exclude would have
# nothing to undo and would warn on every build. test_packaging.py enforces
# what the excludes used to -- that no state or secret file is ever named, and
# that the include list never reverts to a wildcard that would sweep them in.
# These two are .py files reached by packages.find, not by an include above,
# so they still need excluding by name. Both exist locally on a development
# machine, so neither warns.
exclude sts2/risk.py
exclude sts2/diagnosis.py