|
| 1 | +[build-system] |
| 2 | +requires = [ |
| 3 | + "robotpy-build~=2024.0.0", |
| 4 | + "pyntcore<2025.0.0,>=2024.1.1", |
| 5 | + "robotpy-hal<2025.0.0,>=2024.1.1", |
| 6 | + "robotpy-wpimath<2025.0.0,>=2024.1.1", |
| 7 | + "robotpy-wpiutil<2025.0.0,>=2024.1.1", |
| 8 | + "wpilib<2025.0.0,>=2024.1.1", |
| 9 | +] |
| 10 | + |
| 11 | +[tool.robotpy-build] |
| 12 | +base_package = "urcl" |
| 13 | + |
| 14 | +[tool.robotpy-build.metadata] |
| 15 | +name = "robotpy-urcl" |
| 16 | +description = "Python wrapper for FRC Team 6328's URCL library" |
| 17 | +author = "RobotPy Development Team" |
| 18 | +author_email = "[email protected]" |
| 19 | +url = "https://github.com/robotpy/robotpy-urcl" |
| 20 | +license = "MIT" |
| 21 | +install_requires = [ |
| 22 | + "pyntcore<2025.0.0,>=2024.1.1", |
| 23 | + "robotpy-hal<2025.0.0,>=2024.1.1", |
| 24 | + "robotpy-wpiutil<2025.0.0,>=2024.1.1", |
| 25 | + "wpilib<2025.0.0,>=2024.1.1", |
| 26 | +] |
| 27 | + |
| 28 | +[tool.robotpy-build.static_libs."urcl_driver".maven_lib_download] |
| 29 | +artifact_id = "URCL-driver" |
| 30 | +group_id = "org.littletonrobotics.urcl" |
| 31 | +repo_url = "https://raw.githubusercontent.com/Mechanical-Advantage/URCL/2024.0.1" |
| 32 | +version = "2024.0.1" |
| 33 | +libs = [ |
| 34 | + "URCLDriver", |
| 35 | +] |
| 36 | + |
| 37 | +[tool.robotpy-build.wrappers."urcl".maven_lib_download] |
| 38 | +artifact_id = "URCL-cpp" |
| 39 | +group_id = "org.littletonrobotics.urcl" |
| 40 | +repo_url = "https://raw.githubusercontent.com/Mechanical-Advantage/URCL/2024.0.1" |
| 41 | +version = "2024.0.1" |
| 42 | +use_sources = true |
| 43 | +sources = [ |
| 44 | + "URCL.cpp", |
| 45 | +] |
| 46 | + |
| 47 | +[tool.robotpy-build.wrappers."urcl"] |
| 48 | +name = "urcl" |
| 49 | + |
| 50 | +depends = [ |
| 51 | + "urcl_driver", |
| 52 | + "wpiHal", |
| 53 | + "ntcore", |
| 54 | + "wpilibc", |
| 55 | + "wpiutil", |
| 56 | +] |
| 57 | + |
| 58 | +sources = [ |
| 59 | + "urcl/wrapper.cpp", |
| 60 | +] |
| 61 | + |
| 62 | +generation_data = "gen" |
| 63 | + |
| 64 | +[tool.robotpy-build.wrappers."urcl".autogen_headers] |
| 65 | +URCL = "URCL.h" |
0 commit comments