mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[robotpy] Mirror most other subprojects (#8208)
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a This mirrors the robotpy files for the following projects: - apriltag - datalog - hal - ntcore - romiVendordep - wpilibc - wpimath - xrpVendordep This excludes cscore and the halsim wrappers for at this time. NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
This commit is contained in:
47
wpilibc/src/main/python/native-pyproject.toml
Normal file
47
wpilibc/src/main/python/native-pyproject.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
[build-system]
|
||||
build-backend = "hatchling.build"
|
||||
requires = [
|
||||
"hatchling",
|
||||
"hatch-nativelib~=0.2.0",
|
||||
"hatch-robotpy~=0.2.1",
|
||||
"robotpy-native-wpiutil==2027.0.0a2",
|
||||
"robotpy-native-wpinet==2027.0.0a2",
|
||||
"robotpy-native-ntcore==2027.0.0a2",
|
||||
"robotpy-native-wpimath==2027.0.0a2",
|
||||
"robotpy-native-wpihal==2027.0.0a2",
|
||||
]
|
||||
|
||||
[project]
|
||||
name = "robotpy-native-wpilib"
|
||||
version = "2027.0.0a2"
|
||||
description = "WPILib Robotics Library"
|
||||
license = "BSD-3-Clause"
|
||||
|
||||
dependencies = [
|
||||
"robotpy-native-wpiutil==2027.0.0a2",
|
||||
"robotpy-native-wpinet==2027.0.0a2",
|
||||
"robotpy-native-ntcore==2027.0.0a2",
|
||||
"robotpy-native-wpimath==2027.0.0a2",
|
||||
"robotpy-native-wpihal==2027.0.0a2",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/native"]
|
||||
|
||||
[[tool.hatch.build.hooks.robotpy.maven_lib_download]]
|
||||
artifact_id = "wpilibc-cpp"
|
||||
group_id = "edu.wpi.first.wpilibc"
|
||||
repo_url = "https://frcmaven.wpi.edu/artifactory/release-2027"
|
||||
version = "2027.0.0-alpha-2"
|
||||
|
||||
extract_to = "src/native/wpilib"
|
||||
libs = ["wpilibc"]
|
||||
|
||||
[[tool.hatch.build.hooks.nativelib.pcfile]]
|
||||
pcfile = "src/native/wpilib/robotpy-native-wpilib.pc"
|
||||
name = "wpilib"
|
||||
|
||||
includedir = "src/native/wpilib/include"
|
||||
libdir = "src/native/wpilib/lib"
|
||||
shared_libraries = ["wpilibc"]
|
||||
requires = ["robotpy-native-wpiutil", "robotpy-native-wpinet", "robotpy-native-ntcore", "robotpy-native-wpimath", "robotpy-native-wpihal"]
|
||||
Reference in New Issue
Block a user