-
Notifications
You must be signed in to change notification settings - Fork 112
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.toml
and specifyscikit-build
as build backend to automatically produce Python wheels by callingpip install .
- Add a minimal
setup.py
to provide metadata and to ensure backwards compatibility. - Modify
CMakeLists.txt
inpython
directory if necessary to expose proper targets forscikit-build
to 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 and mderbaso-deepx
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Inbox