-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Desired behavior
SDFormat currently provides Python bindings but no standard way to build and distribute them as Python wheels on PyPI. The proposal is to enable creating a Python wheel using standard packaging tools to allow users to install SDFormat's Python bindings easily through a pip install command.
Alternatives considered
Manual local builds and installs of Python bindings through CMake.
Implementation suggestion
- Add a
pyproject.tomland specifyscikit-buildas build backend to automatically produce Python wheels by callingpip install . - Add a minimal
setup.pyto provide metadata and to ensure backwards compatibility. - Modify
CMakeLists.txtinpythondirectory if necessary to expose proper targets forscikit-buildto use - Test and validate against multiple Python versions
Additional context
- This enhancement will prepare the foundation for automating PyPI publishing though the existing Gazebo release pipeline (to be handled in a separate issue [Proposal] Add PyPI publishing support to the Gazebo release pipeline for libraries with Python bindings gazebo-tooling/release-tools#1318)
- Testing can be initially done on TestPyPI before publishing official releases on PyPI.
traversaro, mderbaso-deepx and talregev
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Inbox