forked from tataratat/splinepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
110 lines (94 loc) · 2.78 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
104
105
106
107
108
109
110
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "splinepy"
authors = [
{name="Jaewook Lee", email="[email protected]"},
]
license = {file = "LICENSE"}
description = "Process, analyze and visualize N-dim, N-degree splines"
keywords = ["bezier", "rational bezier", "bspline", "nurbs", "multi patch"]
urls = {Homepage = "https://github.com/tataratat/splinepy"}
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
]
dependencies = ["numpy", "gustaf>=0.0.12"]
requires-python = '>=3.7'
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
all = ["gustaf[all]>=0.0.12"]
test = ["funi>=0.0.1"]
[tool.scikit-build]
wheel.packages = [
"splinepy",
"splinepy.io",
"splinepy.utils",
"splinepy.helpme",
"splinepy.microstructure",
"splinepy.microstructure.tiles",
]
build-dir = "build"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "splinepy/_version.py"
[tool.cibuildwheel]
test-extras = ["test"]
test-command = "python -m unittest discover {project}/tests -v"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
test-skip = ["*arm64"]
build = ["cp*"]
[tool.cibuildwheel.linux]
archs = ["x86_64"]
build = ["cp*-many*"]
[tool.cibuildwheel.windows]
skip = "pp*"
[tool.ruff]
select = [
"E", "F", "W", # flake8
"B", # flake8-bugbear
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"PL", # pylint
"SIM", # flake8-simplify
"T20", # flake8-print
"NPY", # numpy specific rules
"I", # isort specific rules
"UP", # pyupdate specific rules
"C400","C401","C402","C403","C404","C405" # additional pyupgrade rules
]
fixable = ["ALL"]
target-version = "py37"
ignore = [
"PLR2004", # TODO!
"PLR0912", # Too many branches
"PLR0913", # Too many arguments to function call
"PLR0915", # Too many statements
"B904", # Within an `except` clause, raise exceptions with ...
"PLR0911", # Too many return statements
]
[tool.ruff.per-file-ignores]
"setup.py" = ["T201"]
"examples/*.py" = ["T201"]
"tests/common.py" = ["T201"]
[tool.codespell]
ignore-words-list = "connec"
skip="./docs/source/_generated/**,./docs/build/*,./build/*,./third_party/*"
[tool.black]
line-length = 79
exclude = "third_party"
[tool.blackdoc]
line-length = 75