mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +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:
63
datalog/src/main/python/pyproject.toml
Normal file
63
datalog/src/main/python/pyproject.toml
Normal file
@@ -0,0 +1,63 @@
|
||||
[build-system]
|
||||
build-backend = "hatchling.build"
|
||||
requires = [
|
||||
"semiwrap~=0.1.7",
|
||||
"hatch-meson~=0.1.0b2",
|
||||
"hatchling",
|
||||
"robotpy-native-datalog==2027.0.0a2",
|
||||
"robotpy-wpiutil==2027.0.0a2"
|
||||
]
|
||||
|
||||
[project]
|
||||
name = "robotpy-wpilog"
|
||||
version = "2027.0.0a2"
|
||||
description = "Binary wrapper for FRC wpilog library"
|
||||
authors = [
|
||||
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
|
||||
]
|
||||
license = "BSD-3-Clause"
|
||||
dependencies = [
|
||||
"robotpy-native-datalog==2027.0.0a2",
|
||||
"robotpy-wpiutil==2027.0.0a2"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Source code" = "https://github.com/robotpy/mostrobotpy"
|
||||
|
||||
|
||||
[tool.hatch.build.hooks.robotpy]
|
||||
version_file = "wpilog/version.py"
|
||||
|
||||
[tool.hatch.build.hooks.semiwrap]
|
||||
|
||||
[tool.hatch.build.hooks.meson]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["wpilog"]
|
||||
|
||||
|
||||
[tool.semiwrap]
|
||||
update_init = [
|
||||
"wpilog"
|
||||
]
|
||||
scan_headers_ignore = [
|
||||
# wpi/datalog
|
||||
"wpi/datalog/DataLog_c.h",
|
||||
"wpi/datalog/DataLogReaderThread.h",
|
||||
"wpi/datalog/FileLogger.h",
|
||||
]
|
||||
|
||||
[tool.semiwrap.extension_modules."wpilog._wpilog"]
|
||||
name = "wpilog"
|
||||
wraps = ["robotpy-native-datalog"]
|
||||
depends = ["wpiutil"]
|
||||
|
||||
[tool.semiwrap.extension_modules."wpilog._wpilog".headers]
|
||||
# wpi/datalog
|
||||
DataLog = "wpi/datalog/DataLog.h"
|
||||
DataLogBackgroundWriter = "wpi/datalog/DataLogBackgroundWriter.h"
|
||||
DataLogReader = "wpi/datalog/DataLogReader.h"
|
||||
# DataLogReaderThread = "wpi/datalog/DataLogReaderThread.h"
|
||||
DataLogWriter = "wpi/datalog/DataLogWriter.h"
|
||||
# DataLog_c = "wpi/datalog/DataLog_c.h"
|
||||
# FileLogger = "wpi/datalog/FileLogger.h"
|
||||
Reference in New Issue
Block a user