-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
80 lines (67 loc) · 1.75 KB
/
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
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
# inform pip to use setuptools
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
# project metadata
[project]
name = "wincam"
version = "0.0.5"
authors = [
{name = "lovettchris"}
]
description = "A Python high-performance screenshot library for Windows 10+ using Direct3D11CaptureFramePool."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: Microsoft :: Windows :: Windows 8.1",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Capture",
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture"
]
dependencies = [
"opencv-contrib-python",
"numpy",
"pywin32; sys_platform == 'win32'"
]
[project.optional-dependencies]
dev = [
"build",
"black",
"isort",
"flake8",
"Flake8-pyproject",
"mypy",
"mypy-extensions",
"types-PyYAML",
]
test = [
"pytest==7.3.1",
]
all = ["wincam[dev,test]"]
[project.urls]
Homepage = "https://github.com/lovettchris/wincam"
Issues = "https://github.com/lovettchris/wincam/issues"
[tool.setuptools.packages]
find = {}
# Formatting settings (also used by pre-commit)
[tool.black]
line-length = 120
[tool.flake8]
ignore = "E203, E111,E402,E722,W503,W504,F405,F403"
max-line-length = 120
max-complexity = 45
[tool.isort]
profile = "black"
src_paths = ["wincam"]
force_sort_within_sections = true
force_alphabetical_sort_within_sections = true
[tool.mypy]
ignore_missing_imports = true
strict_optional = false
[tool.mypy-yaml]
ignore_missing_imports = true