|
| 1 | +[build-system] |
| 2 | +build-backend = "hatchling.build" |
| 3 | +requires = [ |
| 4 | + "hatchling", |
| 5 | + "hatch-nativelib", |
| 6 | + "hatch-robotpy", |
| 7 | + "native.wpiutil==2025.3.2", |
| 8 | + "native.wpinet==2025.3.2", |
| 9 | + "native.ntcore==2025.3.2", |
| 10 | + "native.wpimath==2025.3.2", |
| 11 | + "native.wpihal==2025.3.2", |
| 12 | +] |
| 13 | + |
| 14 | +[project] |
| 15 | +name = "native.wpilib" |
| 16 | +version = "2025.3.2" |
| 17 | +description = "WPILib Robotics Library" |
| 18 | +license = "BSD-3-Clause" |
| 19 | + |
| 20 | +dependencies = [ |
| 21 | + "native.wpiutil==2025.3.2", |
| 22 | + "native.wpinet==2025.3.2", |
| 23 | + "native.ntcore==2025.3.2", |
| 24 | + "native.wpimath==2025.3.2", |
| 25 | + "native.wpihal==2025.3.2", |
| 26 | +] |
| 27 | + |
| 28 | +[tool.hatch.build.targets.wheel] |
| 29 | +packages = ["src/native"] |
| 30 | + |
| 31 | +[[tool.hatch.build.hooks.robotpy.maven_lib_download]] |
| 32 | +artifact_id = "wpilibc-cpp" |
| 33 | +group_id = "edu.wpi.first.wpilibc" |
| 34 | +repo_url = "https://frcmaven.wpi.edu/artifactory/release" |
| 35 | +version = "2025.3.2" |
| 36 | + |
| 37 | +extract_to = "src/native/wpilib" |
| 38 | +libs = ["wpilibc"] |
| 39 | + |
| 40 | +[[tool.hatch.build.hooks.nativelib.pcfile]] |
| 41 | +pcfile = "src/native/wpilib/native.wpilib.pc" |
| 42 | +name = "wpilib" |
| 43 | + |
| 44 | +includedir = "src/native/wpilib/include" |
| 45 | +libdir = "src/native/wpilib/lib" |
| 46 | +shared_libraries = ["wpilibc"] |
| 47 | +requires = ["native.wpiutil", "native.wpinet", "native.ntcore", "native.wpimath", "native.wpihal"] |
0 commit comments