-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
45 lines (40 loc) · 1.1 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
[project]
name = "videoreader"
dynamic = ["version"]
authors = [
{ name="Arseniy Terekhin", email="[email protected]" },
]
license = {text = "MIT"}
readme = "README.md"
description = "Video capture library"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
]
dependencies = [
"cffi"
]
[project.urls]
"Homepage" = "https://github.com/Visillect/videoreader"
"Bug Reports" = "https://github.com/Visillect/videoreader/issues"
"Source" = "https://github.com/Visillect/videoreader"
[build-system]
requires = ["cffi", "py-build-cmake~=0.3.4"]
build-backend = "py_build_cmake.build"
[tool.black]
line-length = 79
target-version = ["py310"]
[tool.py-build-cmake.sdist]
include = ["CMakeLists.txt", "src/*", "include/videoreader/*.*", "cmake/*.*"]
[tool.py-build-cmake.cmake]
minimum_version = "3.17"
build_type = "Release"
source_path = "."
options = {"VIDEOREADER_CFFI" = true}
build_args = ["-j"]
install_components = ["python_modules"]
[tool.py-build-cmake.module]
directory = "python"