-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
33 lines (26 loc) · 841 Bytes
/
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
[project]
name = "libfoo"
description = "Demo about how to bridge Numpy and OpenCV"
authors = [{ name = "lumina37", email = "[email protected]" }]
urls = { Repository = "https://github.com/lumina37/py-cffi-bridge-npy-and-ocv-demo/" }
version = "0.0.0"
dependencies = ["opencv-python>=4.7,<5"]
requires-python = ">=3.8,<3.13"
[build-system]
requires = ["scikit-build-core", "numpy"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
sdist.exclude = ["*.md", ".*"]
wheel.exclude = ["*.cpp", "*.h", "*.txt"]
[tool.rye]
managed = true
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
select = ["W", "E", "F", "I", "UP", "YTT", "A", "B", "C4", "PIE", "PT", "PERF", "FURB"]
ignore = ["E402", "E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]