-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.35 KB
/
pyproject.toml
File metadata and controls
66 lines (58 loc) · 1.35 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "framesource"
# version is set dynamically from frame_source/_version.py
dynamic = ["version"]
description = "A flexible, extensible Python framework for acquiring frames from cameras, video files, image folders, screen capture, and audio spectrograms with built-in frame processors."
authors = [
{ name = "Oliver Hamilton" }
]
readme = "README.md"
requires-python = ">=3.7"
license = { file = "LICENSE" }
dependencies = [
"opencv-python",
"numpy",
"mss",
"numba",
"watchdog",
"cv2-enumerate-cameras",
"pywin32; platform_system=='Windows'",
"pyobjc-framework-Quartz; platform_system=='Darwin'"
]
[project.optional-dependencies]
audio = [
"librosa",
"soundfile",
"pyaudio"
]
basler = [
"pypylon"
]
realsense = [
"pyrealsense2"
]
full = [
"librosa",
"soundfile",
"pyaudio",
"pypylon",
"pyrealsense2"
]
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.setuptools]
packages = ["frame_source", "frame_processors"]
[tool.setuptools.dynamic]
version = {attr = "frame_source._version.__version__"}