robotpy / mostrobotpy

Official Repository of python implementation of WPILib components
https://robotpy.github.io
Other
11 stars 14 forks source link

Publish allwpilib binaries in separate packages and use pkg-config .pc files #101

Open virtuald opened 2 months ago

virtuald commented 2 months ago

Part of https://github.com/robotpy/robotpy-build/issues/232 .. this will make using meson easier, and also make it so that non-robotpy projects can use those libraries in a python environment without depending explicitly on robotpy bindings. Separating the binaries will also make the wheels smaller, at the expense of having two wheels per library.

Need to write a tool that downloads the wpilib artifacts and converts the zip file into a wheel. https://github.com/robotpy/roborio-pkgtools/blob/main/roborio-gen-whl sorta does a lot of this already, and the other pieces are already in robotpy-build.

It's likely that once this is all set, the actual wheel building + publish steps should be done as part of the allwpilib build. Initially we'll probably prototype it here.