Skip to content

Commit

Permalink
Adjust pyproject.toml, MANIFEST.in
Browse files Browse the repository at this point in the history
- Ensure new modules from #207 are packaged.
- Exclude .github etc. from distributions (parallel to
  iiasa/message_ix).
  • Loading branch information
khaeru committed Aug 2, 2024
1 parent 0741c70 commit 116f02e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Repository files for development, not distribution
exclude .*
prune .github

# Data for testing
prune message_ix_models/data/test/advance
prune message_ix_models/data/test/gea
prune message_ix_models/data/test/iea
prune message_ix_models/data/test/shape
prune message_ix_models/data/test/snapshot-*
prune message_ix_models/data/test/ssp

# Larger package data
# - Not distributed on PyPI.
# - Should be fetched with Pooch from GitHub.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ select = ["C9", "E", "F", "I", "W"]
# - .util.sdmx.as_codes(): 13 > 11
mccabe.max-complexity = 11

[tool.setuptools.packages.find]
include = ["message_ix_models*"]
[tool.setuptools.packages]
find = {}

[tool.setuptools_scm]

0 comments on commit 116f02e

Please sign in to comment.