Skip to content

Commit 44412a1

Browse files
committed
switch to setuptools to include shared libs
1 parent f9053a6 commit 44412a1

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

pyproject.toml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = ["setuptools>=64", "wheel"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "deterministic_gaussian_sampling"
@@ -9,11 +9,24 @@ description = "Python library for Localized Distribution (LCD)-based Gaussian sa
99
readme = "README.md"
1010
requires-python = ">=3.8"
1111
authors = [
12-
{ name="Aaron Preus", email="udxct@student.kit.edu" }
12+
{ name = "Aaron Preus", email = "udxct@student.kit.edu" }
1313
]
1414
license = { text = "MIT" }
15-
16-
dependencies = ["numpy", "pathlib"]
15+
dependencies = ["numpy"]
1716

1817
[project.urls]
1918
Homepage = "https://github.com/KIT-ISAS/deterministic_gaussian_sampling_py"
19+
20+
[tool.setuptools]
21+
package-dir = {"" = "src"}
22+
include-package-data = true
23+
24+
[tool.setuptools.packages.find]
25+
where = ["src"]
26+
27+
[tool.setuptools.package-data]
28+
deterministic_gaussian_sampling = [
29+
"lib/**/*.dll",
30+
"lib/**/*.so",
31+
"lib/**/*.dylib"
32+
]

0 commit comments

Comments
 (0)