Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Keep the depletion chain xml files out of the sdist, they are downloaded
# from github on demand by download_chain rather than shipped in the package
exclude src/openmc_data/depletion/*.xml
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ tests = [

[tool.setuptools]
package-dir = {"" = "src"}
# The chain xml files in src/openmc_data/depletion are tracked in git so that
# they can be fetched with download_chain (see urls_xml.py), but they are far
# too big to ship in the distributions, so only the json data files are
# included as package data.
include-package-data = false

[tool.setuptools.package-data]
"openmc_data.depletion" = ["*.json"]

[project.scripts]
convert_fendl = "openmc_data.convert.convert_fendl:main"
Expand Down