1+ [build-system ]
2+ build-backend = " hatchling.build"
3+ requires = [
4+ " semiwrap~=0.1.4" ,
5+ " hatch-meson~=0.1.0b2" ,
6+ " hatchling" ,
7+ " robotpy-native-datalog==2027.0.0a2" ,
8+ " robotpy-wpiutil==2027.0.0a2"
9+ ]
10+
11+ [project ]
12+ name = " robotpy-wpilog"
13+ version = " 2027.0.0a2"
14+ description = " Binary wrapper for FRC wpilog library"
15+ authors = [
16+ {
name =
" RobotPy Development Team" ,
email =
" [email protected] " },
17+ ]
18+ license = " BSD-3-Clause"
19+ dependencies = [
20+ " robotpy-native-datalog==2027.0.0a2" ,
21+ " robotpy-wpiutil==2027.0.0a2"
22+ ]
23+
24+ [project .urls ]
25+ "Source code" = " https://github.com/robotpy/mostrobotpy"
26+
27+
28+ [tool .hatch .build .hooks .robotpy ]
29+ version_file = " wpilog/version.py"
30+
31+ [tool .hatch .build .hooks .semiwrap ]
32+
33+ [tool .hatch .build .hooks .meson ]
34+
35+ [tool .hatch .build .targets .wheel ]
36+ packages = [" wpilog" ]
37+
38+
39+ [tool .semiwrap ]
40+ update_init = [
41+ " wpilog"
42+ ]
43+ scan_headers_ignore = [
44+ # wpi/datalog
45+ " wpi/datalog/DataLog_c.h" ,
46+ " wpi/datalog/DataLogReaderThread.h" ,
47+ " wpi/datalog/FileLogger.h" ,
48+ ]
49+
50+ [tool .semiwrap .extension_modules ."wpilog ._wpilog" ]
51+ name = " wpilog"
52+ wraps = [" robotpy-native-datalog" ]
53+ depends = [" wpiutil" ]
54+
55+ [tool .semiwrap .extension_modules ."wpilog ._wpilog" .headers ]
56+ # wpi/datalog
57+ DataLog = " wpi/datalog/DataLog.h"
58+ DataLogBackgroundWriter = " wpi/datalog/DataLogBackgroundWriter.h"
59+ DataLogReader = " wpi/datalog/DataLogReader.h"
60+ # DataLogReaderThread = "wpi/datalog/DataLogReaderThread.h"
61+ DataLogWriter = " wpi/datalog/DataLogWriter.h"
62+ # DataLog_c = "wpi/datalog/DataLog_c.h"
63+ # FileLogger = "wpi/datalog/FileLogger.h"
0 commit comments