Skip to content

Commit 63a238a

Browse files
authored
Merge pull request #173 from robotpy/update-semiwrap
Update semiwrap
2 parents 491ea0c + bfc8456 commit 63a238a

File tree

13 files changed

+17
-24
lines changed

13 files changed

+17
-24
lines changed

rdev.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exclude_artifacts = [
3131
]
3232

3333
[params.requirements]
34-
semiwrap = "~=0.1"
34+
semiwrap = "~=0.1.2"
3535
hatch-meson = "~=0.1.0b2"
3636
hatch-nativelib = "~=0.2.0"
3737
hatch-robotpy = "~=0.2"

subprojects/pyntcore/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-apriltag/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-cscore/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-hal/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatchling",
77
"robotpy-native-wpihal==2025.3.2",

subprojects/robotpy-halsim-gui/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-romi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-wpilib/meson.build

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ project('wpilib', ['cpp'],
44

55
subdir('semiwrap')
66

7-
dyn_camsrv = declare_dependency(compile_args: ['-DDYNAMIC_CAMERA_SERVER=1'])
8-
97
wpilib_sources += files(
108
'wpilib/src/main.cpp',
119
'wpilib/src/rpy/ControlWord.cpp',
@@ -14,8 +12,6 @@ wpilib_sources += files(
1412
'wpilib/src/rpy/MotorControllerGroup.cpp',
1513
)
1614

17-
wpilib_deps += [dyn_camsrv]
18-
1915
wpilib_counter_sources += files(
2016
'wpilib/counter/counter.cpp',
2117
)
@@ -37,8 +33,6 @@ wpilib_shuffleboard_sources += files(
3733
'wpilib/shuffleboard/ShuffleboardData.cpp',
3834
)
3935

40-
wpilib_shuffleboard_deps += [dyn_camsrv]
41-
4236
wpilib_simulation_sources += files(
4337
'wpilib/simulation/simulation.cpp',
4438
)

subprojects/robotpy-wpilib/pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",
@@ -97,9 +97,8 @@ depends = [
9797
]
9898
includes = ["wpilib/src"]
9999

100-
# pp_defines = [
101-
# "DYNAMIC_CAMERA_SERVER 1"
102-
# ]
100+
[tool.semiwrap.extension_modules."wpilib._wpilib".defines]
101+
DYNAMIC_CAMERA_SERVER = 1
103102

104103
[tool.semiwrap.extension_modules."wpilib._wpilib".headers]
105104
# frc
@@ -279,9 +278,9 @@ wraps = ["robotpy-native-wpilib"]
279278
depends = ["wpilib", "wpilib_interfaces"]
280279
yaml_path = "semiwrap/shuffleboard"
281280

282-
# pp_defines = [
283-
# "DYNAMIC_CAMERA_SERVER 1"
284-
# ]
281+
[tool.semiwrap.extension_modules."wpilib.shuffleboard._shuffleboard".defines]
282+
DYNAMIC_CAMERA_SERVER = 1
283+
285284

286285
[tool.semiwrap.extension_modules."wpilib.shuffleboard._shuffleboard".headers]
287286
# frc/shuffleboard

subprojects/robotpy-wpimath/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-wpinet/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatchling",
77
"robotpy-native-wpinet==2025.3.2",

subprojects/robotpy-wpiutil/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

subprojects/robotpy-xrp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"semiwrap~=0.1",
4+
"semiwrap~=0.1.2",
55
"hatch-meson~=0.1.0b2",
66
"hatch-robotpy~=0.2",
77
"hatchling",

0 commit comments

Comments
 (0)