Skip to content

Commit e6791c5

Browse files
author
Christopher Doris
committed
switch to hatchling build system
1 parent 7af11e0 commit e6791c5

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

pyproject.toml

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

55
[project]
66
name = "juliacall"
@@ -10,17 +10,10 @@ readme = { file = "README.md", content-type = "text/markdown" }
1010
classifiers = [
1111
"Programming Language :: Python :: 3",
1212
"License :: OSI Approved :: MIT License",
13-
"Operating System :: OS Independent"
13+
"Operating System :: OS Independent",
1414
]
1515
requires-python = ">=3.8"
1616
dependencies = ["juliapkg ~=0.1.8"]
1717

18-
[tool.setuptools]
19-
zip-safe = false
20-
21-
[tool.setuptools.packages.find]
22-
where = ["pysrc"]
23-
include = ["juliacall"]
24-
25-
[tool.setuptools.package-data]
26-
"juliacall" = ["*.json", "*.jl"]
18+
[tool.hatch.build.targets.wheel]
19+
packages = ["pysrc/juliacall"]

0 commit comments

Comments
 (0)