-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpyproject.toml
103 lines (89 loc) · 2.47 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
build-backend = "scikit_build_core.build"
requires = [
"scikit-build-core==0.10.7",
"typing-extensions~=4.1",
]
[project]
name = "lagrange-open"
description = "A robust geometry processing engine"
readme = "README.md"
maintainers = [ { name = "Lagrange Core Team", email = "[email protected]" } ]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C++",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [ "version" ]
dependencies = [
"colorama>=0.4.4 ; platform_system != 'Windows'",
"colorama>=0.4.6 ; platform_system == 'Windows'",
"numpy>=1.25",
]
urls.doc = "https://opensource.adobe.com/lagrange-docs"
urls.repo = "https://github.com/adobe/lagrange"
[dependency-groups]
dev = [
{ include-group = "lint" },
{ include-group = "test" },
]
test = [
"pytest>=7.0.0",
]
lint = [
"mypy==1.1.1",
"ruff==0.4.3",
]
[tool.scikit-build]
ninja.version = ">=1.11.1"
ninja.make-fallback = false
install.components = [ "Lagrange_Python_Runtime" ]
wheel.packages = [ "modules/python/lagrange" ]
build-dir = "build-python"
editable.rebuild = false
# Debug related options
# cmd: uv sync [--verbose] [--reinstall-package lagrange]
# ---------------------
#
# build.verbose = true
# editable.verbose = false
# logging.level = "INFO"
#
# cmake.build-type = "Debug"
# install.strip = false
[tool.scikit-build.cmake.define]
CMAKE_GENERATOR = "Ninja"
LAGRANGE_ASSERT_DEBUG_BREAK = false
LAGRANGE_EXAMPLES = false
LAGRANGE_INSTALL = false
LAGRANGE_MODULE_IMAGE = true
LAGRANGE_MODULE_IO = true
LAGRANGE_MODULE_POISSON = true
LAGRANGE_MODULE_PYTHON = true
LAGRANGE_MODULE_SCENE = true
LAGRANGE_MODULE_SUBDIVISION = true
LAGRANGE_UNIT_TESTS = false
LAGRANGE_WITH_ASSIMP = true
TBB_PREFER_STATIC = false
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "VERSION"
regex = "(?P<value>\\d+\\.\\d+\\.\\d+)"
[tool.black]
line_length = 100
[tool.ruff]
line-length = 100
[tool.pyproject-fmt]
indent = 4
keep_full_version = true
[tool.uv]
python-preference = "only-managed"