-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (100 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
111 lines (100 loc) · 2.5 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "framesource"
# version is derived from git tags via setuptools_scm
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.8"
license = { file = "LICENSE" }
keywords = [
"camera",
"computer-vision",
"video-capture",
"webcam",
"rtsp",
"realsense",
"basler",
"screen-capture",
"frame-grabber",
"opencv",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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 :: Multimedia :: Video :: Capture",
"Topic :: Scientific/Engineering :: Image Processing",
"Typing :: Typed",
]
dependencies = [
"opencv-python",
"numpy",
"mss",
"numba",
"watchdog",
"cv2-enumerate-cameras",
"pywin32; platform_system=='Windows'",
"pyobjc-framework-Quartz; platform_system=='Darwin'"
]
[project.urls]
Homepage = "https://github.com/olkham/FrameSource"
Repository = "https://github.com/olkham/FrameSource"
Issues = "https://github.com/olkham/FrameSource/issues"
[project.optional-dependencies]
audio = [
"librosa",
"soundfile",
"pyaudio"
]
basler = [
"pypylon"
]
realsense = [
"pyrealsense2"
]
genicam = [
"harvesters"
]
full = [
"librosa",
"soundfile",
"pyaudio",
"pypylon",
"pyrealsense2",
"harvesters"
]
[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]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"framesource" = ["py.typed"]
"framesource.sources" = ["mvsdk.py"]
[tool.setuptools_scm]
write_to = "src/framesource/_version.py"
fallback_version = "0.2.7"