-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
44 lines (39 loc) · 1.18 KB
/
pyproject.toml
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
38
39
40
41
42
43
44
[project]
name = "linkml_py"
version = "0.0.1"
readme = "README.md"
keywords = ["linkml", "python", "ReUse Explorer"]
maintainers = [
{name = "Povl Filip Sonne-Frederiksen", email="[email protected]"},
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"specklepy",
"wheel",
]
[project.optional-dependencies]
ml = ["pytorch"]
[project.scripts]
linkml-cli = "linkml_py:run"
[project.urls]
source = "https://github.com/linkarkitektur/linkml_cpp"
[build-system]
requires = ["scikit-build-core>=0.3.3", "pybind11"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.build-type = "Release"
wheel.py-api = "cp39" # https://scikit-build-core.readthedocs.io/en/latest/cmakelists.html
cmake.version = "==3.22.1"
ninja.version = "==1.10.1"
wheel.license-files = ["LICENSE"]
sdist.exclude = [".github", "test.py", ".gitignore", ".gitmodules", ".clang-format", "test_data_loaders"]
cmake.args = [
# Turn off tests
"-DLINKML_SAMPLES_TESTS=OFF",
# Ensure that polyscope is not build to a directory with out write access
# Otherwise the wheel will fail to build
"-DCMAKE_INSTALL_PREFIX=./build/"
]
cmake.verbose = true
logging.level = "ERROR"