I'm sick of the way the simple extension builder in setup.py doesn't understand header dependencies.
23 lines
455 B
TOML
23 lines
455 B
TOML
[build-system]
|
|
requires = [
|
|
"cmake>=3.12",
|
|
"setuptools>=42",
|
|
"setuptools_scm[toml]>=6.2",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools_scm]
|
|
|
|
[tool.ruff]
|
|
lint.extend-select = [
|
|
"B", # flake8-bugbear
|
|
"I", # isort
|
|
"PGH", # pygrep-hooks
|
|
"RUF", # Ruff-specific
|
|
"UP", # pyupgrade
|
|
]
|
|
lint.extend-ignore = [
|
|
"E501", # Line too long
|
|
"RUF002", # Yes I meant to type 'multiplication sign'!
|
|
]
|
|
target-version = "py311"
|