Skip to content

Commit 144d81d

Browse files
committed
add hatch configs
1 parent 16b134b commit 144d81d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ build.include = [
6666
"src/magpylib_material_response/package_data/datasets/*.json",
6767
"src/magpylib_material_response/package_data/datasets/*.csv",
6868
]
69+
build.sources = ["src"]
70+
71+
[tool.hatch.build.targets.wheel]
72+
packages = ["src/magpylib_material_response"]
73+
74+
[tool.hatch.build.targets.sdist]
75+
include = [
76+
"src/magpylib_material_response",
77+
"README.md",
78+
"LICENSE",
79+
"pyproject.toml",
80+
]
81+
6982

7083
[tool.hatch.envs.default]
7184
features = ["test"]

0 commit comments

Comments
 (0)