Skip to content

Commit 116f02e

Browse files
committed
Adjust pyproject.toml, MANIFEST.in
- Ensure new modules from #207 are packaged. - Exclude .github etc. from distributions (parallel to iiasa/message_ix).
1 parent 0741c70 commit 116f02e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# Repository files for development, not distribution
2+
exclude .*
3+
prune .github
4+
15
# Data for testing
26
prune message_ix_models/data/test/advance
37
prune message_ix_models/data/test/gea
48
prune message_ix_models/data/test/iea
59
prune message_ix_models/data/test/shape
610
prune message_ix_models/data/test/snapshot-*
711
prune message_ix_models/data/test/ssp
12+
813
# Larger package data
914
# - Not distributed on PyPI.
1015
# - Should be fetched with Pooch from GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ select = ["C9", "E", "F", "I", "W"]
161161
# - .util.sdmx.as_codes(): 13 > 11
162162
mccabe.max-complexity = 11
163163

164-
[tool.setuptools.packages.find]
165-
include = ["message_ix_models*"]
164+
[tool.setuptools.packages]
165+
find = {}
166166

167167
[tool.setuptools_scm]

0 commit comments

Comments
 (0)