Skip to content

Commit

Permalink
switch to hatchling build system
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Jan 22, 2025
1 parent 7af11e0 commit e6791c5
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "juliacall"
Expand All @@ -10,17 +10,10 @@ readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dependencies = ["juliapkg ~=0.1.8"]

[tool.setuptools]
zip-safe = false

[tool.setuptools.packages.find]
where = ["pysrc"]
include = ["juliacall"]

[tool.setuptools.package-data]
"juliacall" = ["*.json", "*.jl"]
[tool.hatch.build.targets.wheel]
packages = ["pysrc/juliacall"]

0 comments on commit e6791c5

Please sign in to comment.