-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
64 lines (55 loc) · 1.64 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
[build-system]
requires = ["scikit-build-core>=0.9"]
build-backend = "scikit_build_core.build"
[project]
name = "deflate"
dynamic = ["version"]
description = "Python wrapper for libdeflate."
readme = "README.md"
requires-python = ">=3.9"
dependencies = []
authors = [
{ name = "Dan Watson", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Archiving :: Compression",
]
[project.urls]
Homepage = "https://github.com/dcwatson/deflate"
[project.optional-dependencies]
test = ["pytest>=7"]
[tool.uv]
dev-dependencies = [
"pytest>=7",
"pre-commit~=3.5.0",
]
[tool.scikit-build]
minimum-version = "0.9"
wheel.py-api = "cp311"
cmake.version = ">=3.26"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "src/_deflate.c"
regex = '.*#define MODULE_VERSION "(?P<value>.*)"'
[tool.ruff]
extend-exclude = ["libdeflate"]
[tool.ruff.lint]
extend-select = ["B", "I"]
isort.known-first-party = ["deflate"]
[tool.cibuildwheel]
test-extras = ["test"]
test-command = "pytest {package}/tests"