-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (124 loc) · 3.58 KB
/
Copy pathpyproject.toml
File metadata and controls
134 lines (124 loc) · 3.58 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
build-backend = "scikit_build_core.build"
requires = [
"numpy>=1.25", # needed at build time for default dtype args
"scikit-build-core==0.11.6",
"typing-extensions~=4.1",
]
[project]
name = "adobe-lagrange"
description = "A robust geometry processing engine"
readme = "README.md"
license = "Apache-2.0"
license-files = [ "LICENSE", "NOTICE.txt" ]
maintainers = [ { name = "Lagrange Core Team", email = "lagrange-core@adobe.com" } ]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: C++",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
]
dynamic = [ "version" ]
dependencies = [
"colorama>=0.4.4; platform_system!='Windows'",
"colorama>=0.4.6; platform_system=='Windows'",
"numpy>=1.25",
"scipy>=1.13.0",
]
optional-dependencies.docs = [
"furo==2025.9.25; python_version>='3.12'",
"sphinx==8.2.3; python_version>='3.12'",
"sphinx-autoapi==3.6.1; python_version>='3.12'",
"sphinx-autodoc-typehints==3.5.2; python_version>='3.12'",
]
optional-dependencies.scripts = [
"pillow>=10.0.0",
"pyexr>=0.5.0",
"pymcubes==0.1.6",
"torch>=2.2.0",
]
urls.documentation = "https://opensource.adobe.com/lagrange-docs"
urls.repository = "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.setuptools_scm]
version_file = "modules/python/lagrange/_version.py"
version_scheme = "no-guess-dev"
[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
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = [ "modules/python/lagrange/_version.py" ]
# 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"
CMAKE_GENERATOR_PLATFORM = ""
LAGRANGE_ASSERT_DEBUG_BREAK = false
LAGRANGE_EXAMPLES = false
LAGRANGE_INSTALL = false
LAGRANGE_MODULE_BVH = true
LAGRANGE_MODULE_FILTERING = true
LAGRANGE_MODULE_GEODESIC = true
LAGRANGE_MODULE_IMAGE = true
LAGRANGE_MODULE_IO = true
LAGRANGE_MODULE_POISSON = true
LAGRANGE_MODULE_POLYDDG = true
LAGRANGE_MODULE_PRIMITIVE = true
LAGRANGE_MODULE_PYTHON = true
LAGRANGE_MODULE_RAYCASTING = true
LAGRANGE_MODULE_SAMPLING = true
LAGRANGE_MODULE_SCENE = true
LAGRANGE_MODULE_SERIALIZATION2 = true
LAGRANGE_MODULE_SOLVER = true
LAGRANGE_MODULE_SUBDIVISION = true
LAGRANGE_MODULE_TEXPROC = true
LAGRANGE_MODULE_VOLUME = true
LAGRANGE_MODULE_XATLAS = true
LAGRANGE_UNIT_TESTS = false
LAGRANGE_WITH_ASSIMP = true
TBB_PREFER_STATIC = false
[tool.uv]
python-preference = "only-managed"
[tool.black]
line_length = 100
[tool.ruff]
line-length = 100
[tool.pyproject-fmt]
indent = 4
keep_full_version = true
expand_tables = [ "tool.scikit-build.cmake.define" ]
[tool.pytest]
ini_options.addopts = [
"--import-mode=importlib",
]
ini_options.pythonpath = "."