This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
73 lines (59 loc) · 1.89 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
[tool.robotpy-build.metadata]
name = "robotpy-cscore"
description = "RobotPy bindings for cscore image processing library"
author = "RobotPy Development Team"
author_email = "[email protected]"
url = "https://github.com/robotpy/robotpy-cscore"
license = "BSD-3-Clause"
install_requires = [
"robotpy-wpiutil~=2023.4.3",
"robotpy-wpinet~=2023.4.3",
"pyntcore~=2023.4.3",
]
[build-system]
requires = [
"robotpy-build<2024.0.0,>=2023.1.1",
"robotpy-wpiutil~=2023.4.3",
"robotpy-wpinet~=2023.4.3",
"pyntcore~=2023.4.3",
]
[tool.robotpy-build]
base_package = "cscore"
[tool.robotpy-build.static_libs."cscore_cpp".maven_lib_download]
artifact_id = "cscore-cpp"
group_id = "edu.wpi.first.cscore"
repo_url = "https://frcmaven.wpi.edu/artifactory/release"
version = "2023.4.3"
libs = ["cscore"]
[tool.robotpy-build.static_libs."cameraserver_cpp".maven_lib_download]
artifact_id = "cameraserver-cpp"
group_id = "edu.wpi.first.cameraserver"
repo_url = "https://frcmaven.wpi.edu/artifactory/release"
version = "2023.4.3"
libs = ["cameraserver"]
[tool.robotpy-build.static_libs."opencv_cpp".maven_lib_download]
artifact_id = "opencv-cpp"
group_id = "edu.wpi.first.thirdparty.frc2023.opencv"
repo_url = "https://frcmaven.wpi.edu/artifactory/release"
version = "4.6.0-4"
libs = ["opencv460"]
[tool.robotpy-build.wrappers."cscore"]
name = "cscore"
sources = [
"cscore/src/main.cpp",
"cscore/cvnp/cvnp.cpp",
"cscore/cvnp/cvnp_synonyms.cpp",
]
depends = ["wpiutil", "wpinet", "ntcore", "opencv_cpp", "cscore_cpp", "cameraserver_cpp", ]
generation_data = "gen"
[tool.robotpy-build.wrappers."cscore".autogen_headers]
# cameraserver
CameraServer = "cameraserver/CameraServer.h"
# cscore
cscore_cpp = "cscore_cpp.h"
cscore_oo = "cscore_oo.h"
cscore_cv = "cscore_cv.h"
cscore_runloop = "cscore_runloop.h"
[[tool.robotpy-build.wrappers."cscore".type_casters]]
header = "cvnp/cvnp.h"
types = ["cv::Mat"]