forked from robotpy/robotpy-rev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (61 loc) · 1.92 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
[build-system]
requires = [
"robotpy-build>=2020.1.6,<2021.0.0",
"robotpy-wpiutil>=2020.2.2.0,<2021.0.0",
"wpilib>=2020.2.2.0"
]
[tool.robotpy-build]
base_package = "rev"
[tool.robotpy-build.wrappers."rev._sparkmaxdriver".maven_lib_download]
artifact_id = "SparkMax-driver"
group_id = "com.revrobotics.frc"
repo_url = "http://www.revrobotics.com/content/sw/max/sdk/maven"
version = "1.5.2"
libs = ["SparkMaxDriver"]
[tool.robotpy-build.wrappers."rev._sparkmaxdriver"]
name = "rev_spark_driver"
depends = ["wpilib_core", "wpiutil"]
sources = [
"rev/_sparkmaxdriver/sparkmaxdriver.cpp"
]
generate = [
{ CANSparkMaxFrames = "rev/CANSparkMaxFrames.h" },
]
generation_data = "gen/driver"
[tool.robotpy-build.wrappers."rev".maven_lib_download]
artifact_id = "SparkMax-cpp"
group_id = "com.revrobotics.frc"
repo_url = "http://www.revrobotics.com/content/sw/max/sdk/maven"
version = "1.5.2"
libs = ["SparkMax"]
[tool.robotpy-build.wrappers."rev"]
name = "rev"
sources = [
"rev/rev.cpp"
]
depends = ["wpilibc", "wpilib_core", "wpiutil", "rev_spark_driver"]
generate = [
{ CANSparkMaxLowLevel = "rev/CANSparkMaxLowLevel.h" },
{ CANSparkMax = "rev/CANSparkMax.h" },
{ CANAnalog = "rev/CANAnalog.h" },
# { CANDeviceScanner = "rev/CANDeviceScanner.h" },
{ CANDigitalInput = "rev/CANDigitalInput.h" },
{ CANEncoder = "rev/CANEncoder.h" },
{ CANError = "rev/CANError.h" },
{ CANPIDController = "rev/CANPIDController.h" },
{ CANSensor = "rev/CANSensor.h" },
{ ControlType = "rev/ControlType.h" },
{ SparkMax = "rev/SparkMax.h" },
]
generation_data = "gen"
[tool.robotpy-build.metadata]
name = "robotpy-rev"
description = "Rev Robotics Spark Max SDK for RobotPy"
author = "RobotPy Development Team"
author_email = "[email protected]"
url = "https://github.com/robotpy/robotpy-rev"
license = "BSD-3-Clause"
install_requires = [
"robotpy-wpiutil>=2020.2.2.0,<2021.0.0",
"wpilib>=2020.2.2.0"
]