forked from LuisaGroup/LuisaCompute
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (57 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
62 lines (57 loc) · 1.9 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
[build-system]
requires = ["pybind11", "scikit-build-core>=0.3.2", "ninja"]
build-backend = "scikit_build_core.build"
[project]
name = "luisa-python"
dynamic = ["version"]
description = "A High-Performance Rendering Framework with Layered and Unified Interfaces on Stream Architectures"
readme = "README.md"
authors = [
{ name = "LuisaGroup" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"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",
]
dependencies = [
"sourceinspect",
"numpy",
"torch>=2.8.0",
"cupy>=13.6.0",
]
license = { file = "LICENSE" }
keywords = ["luisa", "rendering", "framework", "gpu", "stream", "architecture"]
[project.urls]
Homepage = "https://www.luisa-render.com"
Repository = "https://github.com/LuisaGroup/LuisaCompute"
Issues = "https://github.com/LuisaGroup/LuisaCompute/issues"
[tool.scikit-build]
cmake.version = ">=3.28"
cmake.build-type = "Release"
cmake.args = ["-G Ninja"]
ninja.version = ">=1.11"
ninja.make-fallback = false
sdist.reproducible = false
wheel.expand-macos-universal-tags = true
wheel.packages = []
# this causes CMake referencing a temporarily installed ninja
# build-dir = "build/{wheel_tag}"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "include/luisa/version.h"
regex = '''(?sx)
\#define \s+ LUISA_COMPUTE_VERSION_MAJOR \s+ (?P<major>\d+) .*?
\#define \s+ LUISA_COMPUTE_VERSION_MINOR \s+ (?P<minor>\d+) .*?
\#define \s+ LUISA_COMPUTE_VERSION_PATCH \s+ (?P<patch>\d+) .*?
'''
result = "{major}.{minor}.{patch}"
[tool.scikit-build.cmake.define]
LUISA_COMPUTE_BUILD_TESTS = "OFF"
LUISA_COMPUTE_DOWNLOAD_NVCOMP = "OFF"
LUISA_COMPUTE_USE_SYSTEM_STL = "ON"