-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (31 loc) · 807 Bytes
/
pyproject.toml
File metadata and controls
37 lines (31 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[build-system]
requires = ["hatchling>=1.20"]
build-backend = "hatchling.build"
[project]
name = "hatch-cpp-test-project-override-classes"
description = "Basic test project for hatch-cpp"
version = "0.1.0"
requires-python = ">=3.9"
dependencies = [
"hatchling>=1.20",
"hatch-cpp",
]
[tool.hatch.build]
artifacts = [
"project/*.dll",
"project/*.dylib",
"project/*.so",
]
[tool.hatch.build.sources]
src = "/"
[tool.hatch.build.targets.sdist]
packages = ["project"]
[tool.hatch.build.targets.wheel]
packages = ["project"]
[tool.hatch.build.hooks.hatch-cpp]
build-config-class = "hatch_cpp.HatchCppBuildConfig"
build-plan-class = "hatch_cpp.HatchCppBuildPlan"
verbose = true
libraries = [
{name = "project/extension", sources = ["cpp/project/basic.cpp"], include-dirs = ["cpp"]}
]