-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (64 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (64 loc) · 2.75 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "whircam"
version = "0.1.0"
description = "Windows Hello IR camera module — cv2.VideoCapture-like access to hidden IR cameras"
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "jacksonfcs", email = "jackson@jacksonfcs.com"},
]
keywords = [
"windows-hello", "infrared", "camera", "ir-camera",
"depth-camera", "laptop-camera", "MediaFrameSourceGroup",
"winrt", "pywinrt", "windows-camera",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Video :: Capture",
"Topic :: System :: Hardware :: Hardware Drivers",
]
dependencies = [
"winrt-runtime>=3.2", # WinRT projection runtime
"winrt-Windows.Foundation>=3.2", # IAsyncOperation, IAsyncAction
"winrt-Windows.Foundation.Collections>=3.2", # IVectorView, IKeyValuePair
"winrt-Windows.Media>=3.2", # Media types (frame formats, etc.)
"winrt-Windows.Media.MediaProperties>=3.2", # MediaRatio, MediaFrameFormat
"winrt-Windows.Media.Capture>=3.2", # MediaCapture, initialization settings
"winrt-Windows.Media.Capture.Frames>=3.2", # MediaFrameSourceGroup, MediaFrameReader
"winrt-Windows.Devices>=3.2", # DeviceInformation on frame source groups
"winrt-Windows.Devices.Enumeration>=3.2", # Device enumeration
"winrt-Windows.Storage.Streams>=3.2", # Buffer
"winrt-Windows.Graphics>=3.2", # Graphics base types
"winrt-Windows.Graphics.Imaging>=3.2", # SoftwareBitmap conversion
"winrt-Windows.Graphics.DirectX>=3.2", # DirectX pixel formats
"winrt-Windows.Graphics.DirectX.Direct3D11>=3.2", # Direct3D surface
]
[project.optional-dependencies]
full = [
"numpy>=1.24", # used by: IRCam._async_pump — buffer→numpy decode, reshape
"opencv-python>=4.6", # used by: IRCam._async_pump — cv2.cvtColor pixel conversion
]
dev = [
"pytest>=9.1.1",
]
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
[project.urls]
Homepage = "https://github.com/jacksonfcs/Windows-Hello-IR-Camera-Python"
Repository = "https://github.com/jacksonfcs/Windows-Hello-IR-Camera-Python.git"
[project.scripts]
whircam = "whircam:_cli"