2025-10-24 01:28:04 -04:00
|
|
|
[build-system]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
requires = [
|
2025-11-01 13:28:05 -04:00
|
|
|
"semiwrap~=0.2.1",
|
|
|
|
|
"hatch-meson~=0.1.0",
|
2025-10-24 01:28:04 -04:00
|
|
|
"hatch-robotpy~=0.2.1",
|
|
|
|
|
"hatchling",
|
2025-11-01 13:28:05 -04:00
|
|
|
"robotpy-native-ntcore==0.0.0",
|
|
|
|
|
"robotpy-wpiutil==0.0.0",
|
|
|
|
|
"robotpy-wpinet==0.0.0",
|
|
|
|
|
"robotpy-wpilog==0.0.0",
|
2025-10-24 01:28:04 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "pyntcore"
|
2025-11-01 13:28:05 -04:00
|
|
|
version = "0.0.0"
|
2025-10-24 01:28:04 -04:00
|
|
|
description = "Binary wrappers for the FRC ntcore library"
|
|
|
|
|
authors = [
|
|
|
|
|
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
|
|
|
|
|
]
|
|
|
|
|
license = "BSD-3-Clause"
|
|
|
|
|
dependencies = [
|
2025-11-01 13:28:05 -04:00
|
|
|
"robotpy-native-ntcore==0.0.0",
|
|
|
|
|
"robotpy-wpiutil==0.0.0",
|
|
|
|
|
"robotpy-wpinet==0.0.0",
|
|
|
|
|
"robotpy-wpilog==0.0.0",
|
2025-10-24 01:28:04 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
|
"Source code" = "https://github.com/robotpy/mostrobotpy"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.hooks.robotpy]
|
|
|
|
|
version_file = "ntcore/version.py"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.hooks.semiwrap]
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.hooks.meson]
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["ntcore"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.semiwrap]
|
|
|
|
|
update_init = [
|
|
|
|
|
"ntcore",
|
|
|
|
|
"ntcore.meta ntcore._ntcore.meta"
|
|
|
|
|
]
|
|
|
|
|
scan_headers_ignore = [
|
|
|
|
|
"networktables/ProtobufTopic.h",
|
|
|
|
|
"networktables/UnitTopic.h",
|
|
|
|
|
|
|
|
|
|
"ntcore.h",
|
|
|
|
|
"ntcore_c.h",
|
|
|
|
|
"ntcore_c_types.h",
|
|
|
|
|
"ntcore_test.h",
|
|
|
|
|
|
|
|
|
|
"src/*",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[tool.semiwrap.extension_modules."ntcore._ntcore"]
|
|
|
|
|
name = "ntcore"
|
|
|
|
|
wraps = ["robotpy-native-ntcore"]
|
|
|
|
|
depends = ["wpiutil", "wpinet", "wpilog"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.semiwrap.extension_modules."ntcore._ntcore".headers]
|
|
|
|
|
# networktables
|
|
|
|
|
BooleanArrayTopic = "networktables/BooleanArrayTopic.h"
|
|
|
|
|
BooleanTopic = "networktables/BooleanTopic.h"
|
|
|
|
|
DoubleArrayTopic = "networktables/DoubleArrayTopic.h"
|
|
|
|
|
DoubleTopic = "networktables/DoubleTopic.h"
|
|
|
|
|
FloatArrayTopic = "networktables/FloatArrayTopic.h"
|
|
|
|
|
FloatTopic = "networktables/FloatTopic.h"
|
|
|
|
|
GenericEntry = "networktables/GenericEntry.h"
|
|
|
|
|
IntegerArrayTopic = "networktables/IntegerArrayTopic.h"
|
|
|
|
|
IntegerTopic = "networktables/IntegerTopic.h"
|
|
|
|
|
MultiSubscriber = "networktables/MultiSubscriber.h"
|
|
|
|
|
NTSendable = "networktables/NTSendable.h"
|
|
|
|
|
NTSendableBuilder = "networktables/NTSendableBuilder.h"
|
|
|
|
|
NetworkTable = "networktables/NetworkTable.h"
|
|
|
|
|
NetworkTableEntry = "networktables/NetworkTableEntry.h"
|
|
|
|
|
NetworkTableInstance = "networktables/NetworkTableInstance.h"
|
|
|
|
|
NetworkTableListener = "networktables/NetworkTableListener.h"
|
|
|
|
|
NetworkTableType = "networktables/NetworkTableType.h"
|
|
|
|
|
NetworkTableValue = "networktables/NetworkTableValue.h"
|
|
|
|
|
RawTopic = "networktables/RawTopic.h"
|
|
|
|
|
StructTopic = "networktables/StructTopic.h"
|
|
|
|
|
StructArrayTopic = "networktables/StructArrayTopic.h"
|
|
|
|
|
StringArrayTopic = "networktables/StringArrayTopic.h"
|
|
|
|
|
StringTopic = "networktables/StringTopic.h"
|
|
|
|
|
Topic = "networktables/Topic.h"
|
|
|
|
|
|
|
|
|
|
ntcore_cpp = "ntcore_cpp.h"
|
|
|
|
|
ntcore_cpp_types = "ntcore_cpp_types.h"
|