-
Notifications
You must be signed in to change notification settings - Fork 247
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
81 lines (72 loc) · 1.99 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
79
80
81
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "picamera2"
version = "0.3.36"
description = "The libcamera-based Python interface to Raspberry Pi cameras, based on the original Picamera library"
readme = "README.md"
license = "BSD-2-Clause"
requires-python = ">=3.9"
authors = [
{ name = "Raspberry Pi & Raspberry Pi Foundation", email = "picamera2@raspberrypi.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
]
dependencies = [
"numpy",
"PiDNG",
"piexif",
"pillow",
"simplejpeg",
"videodev2",
"python-prctl",
"av",
"libarchive-c",
"tqdm",
"jsonschema",
"OpenEXR",
]
[project.optional-dependencies]
gui = ["pyopengl", "PyQt5"]
[project.urls]
Homepage = "https://github.com/RaspberryPi/picamera2"
"Bug Tracker" = "https://github.com/RaspberryPi/picamera2/issues"
[tool.setuptools.packages.find]
include = ["picamera2*"]
[tool.ruff]
line-length = 127
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"I", # isort
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/qt.py" = ["F401"]
"**/gl_helpers.py" = ["F401", "F403", "F405"]
"**/q_gl_picamera2.py" = ["E402", "F403", "F405"]
"**/v4l2_encoder.py" = ["F403", "F405"]
"**/encoder.py" = ["F403", "F405"]
"**/drm_preview.py" = ["F403", "F405"]
"**/capture_video_raw.py" = ["F403", "F405"]
"**/picamera2.py" = ["B006", "B008"]
"**/configuration.py" = ["B006"]
"**/metadata.py" = ["B006"]
"**/controls.py" = ["B006"]
[tool.ruff.format]
quote-style = "preserve"
skip-magic-trailing-comma = true