This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
88 lines (75 loc) · 2.47 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
81
82
83
84
85
86
87
88
[build-system]
requires = [
"robotpy-build<2024,>=2023.0.0",
"pyntcore~=2023.4.1",
"robotpy-apriltag~=2023.4.1",
"robotpy-wpimath~=2023.4.1",
"wpilib~=2023.4.1",
]
[tool.robotpy-build.metadata]
name = "robotpy-photonvision"
description = "RobotPy wrappers for photonvision"
author = "RobotPy Development Team"
author_email = "robotpy@googlegroups.com"
url = "https://github.com/robotpy/robotpy-photonvision"
license = "MIT"
install_requires = [
"pyntcore<2024.0.0,>=2023.4.1",
"robotpy-apriltag<2024.0.0,>=2023.4.1",
"robotpy-wpimath<2024.0.0,>=2023.4.1",
"wpilib<2024.0.0,>=2023.4.1",
]
[tool.robotpy-build]
base_package = "photonvision"
[tool.robotpy-build.static_libs."photonvision-opencv".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."photonvision".maven_lib_download]
artifact_id = "PhotonLib-cpp"
group_id = "org.photonvision"
repo_url = "https://maven.photonvision.org/repository/internal"
version = "v2023.4.2"
use_sources = true
sources = [
"photonlib/PhotonCamera.cpp",
"photonlib/PhotonPipelineResult.cpp",
"photonlib/PhotonPoseEstimator.cpp",
"photonlib/PhotonTrackedTarget.cpp",
"photonlib/RobotPoseEstimator.cpp",
]
[[tool.robotpy-build.wrappers."photonvision".maven_lib_download.patches]]
patch = "photonvision/src/sources.patch"
[[tool.robotpy-build.wrappers."photonvision".maven_lib_download.header_patches]]
patch = "photonvision/src/headers.patch"
[tool.robotpy-build.wrappers."photonvision"]
name = "photonvision"
depends = [
"photonvision-opencv",
"apriltag",
"wpilibc",
"wpimath_geometry",
"wpimath_cpp",
"ntcore",
"wpiHal",
"wpiutil",
]
sources = [
"photonvision/src/module.cpp",
]
generation_data = "gen"
[tool.robotpy-build.wrappers."photonvision".autogen_headers]
# photonlib
Packet = "photonlib/Packet.h"
PhotonCamera = "photonlib/PhotonCamera.h"
PhotonPipelineResult = "photonlib/PhotonPipelineResult.h"
PhotonPoseEstimator = "photonlib/PhotonPoseEstimator.h"
PhotonTargetSortMode = "photonlib/PhotonTargetSortMode.h"
PhotonTrackedTarget = "photonlib/PhotonTrackedTarget.h"
PhotonUtils = "photonlib/PhotonUtils.h"
RobotPoseEstimator = "photonlib/RobotPoseEstimator.h"
SimPhotonCamera = "photonlib/SimPhotonCamera.h"
SimVisionSystem = "photonlib/SimVisionSystem.h"
SimVisionTarget = "photonlib/SimVisionTarget.h"