Skip to content

Commit 65932b6

Browse files
committedOct 14, 2024·
Fix hatch configuration to include all bin files
1 parent f21e188 commit 65932b6

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed
 

‎pyproject.toml

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,12 @@ post-install = "scripts/install_dependencies.py" # for editable installs
1010

1111
[tool.hatch.build.targets.sdist]
1212
exclude = ["notebooks", "tests", "images"]
13-
artifacts = [
14-
"*.so",
15-
"*.dll",
16-
]
1713

18-
[tool.hatch.build.targets.wheel]
19-
artifacts = [
20-
"*.so",
21-
"*.dll"
22-
]
14+
[tool.hatch.build.targets.sdist.force-include]
15+
"mikeio1d/bin" = "mikeio1d/bin"
2316

17+
[tool.hatch.build.targets.wheel.force-include]
18+
"mikeio1d/bin" = "mikeio1d/bin"
2419

2520
[project]
2621
name = "mikeio1d"

‎scripts/hatch_build_script.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import sys
24
import sysconfig
35
import os

0 commit comments

Comments
 (0)
Please sign in to comment.