-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (67 loc) · 1.88 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
[project]
name = "torchmcubes"
description = "torchmcubes: Marching Cubes for PyTorch"
readme = "README.md"
authors = [
{name = "Tatsuya Yatagawa", email = "tatsy.mail@gmail.com"}
]
license = "MPL-2.0"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
'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',
]
requires-python = ">=3.9"
dynamic = ["version", "dependencies"]
[[tool.dynamic-metadata]]
provider = "scikit_build_core.metadata.regex"
field = "version"
input = "torchmcubes/__init__.py"
[[tool.dynamic-metadata]]
provider = { path = ".", module = "_torch_dep:Provider" }
[tool.scikit-build]
build-dir = "build"
minimum-version = "1.0"
experimental = true
ninja.make-fallback = true
logging.level = "INFO"
build.verbose = true
messages.after-success = "SUCCESS!!"
messages.after-failure = "FAILURE!!"
[tool.scikit-build.cmake]
version = ">=3.18"
source-dir = "."
args = []
[tool.scikit-build.wheel]
exclude = ["**/.mypy_cache/**", "**/build/**", "**/.vscode/**"]
[build-system]
requires = ["scikit-build-core>=1.0", "pybind11>=2.10"]
build-backend = "scikit_build_core.build"
[tool.isort]
length_sort = true
line_length = 120
[tool.mypy]
python_version = "3.11"
follow_imports = "silent"
disallow_any_generics = true
strict_optional = true
check_untyped_defs = true
allow_redefinition = true
[tool.flake8]
max-line-length = 120
ignore = "Q000,E203,W503,W504"
[tool.yapf]
based_on_style = "pep8"
column_limit = 120
indent_width = 4
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT = true
COALESCE_BRACKETS = false
DEDENT_CLOSING_BRACKETS = false
DISABLE_ENDING_COMMA_HEURISTIC = false
INDENT_DICTIONARY_VALUE = false
ALLOW_SPLIT_BEFORE_DICT_VALUE = false
SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED = true