Skip to content

Replace Boost.Python with pybind11#176

Open
CalaW wants to merge 11 commits intoaewallin:masterfrom
CalaW:pybind11
Open

Replace Boost.Python with pybind11#176
CalaW wants to merge 11 commits intoaewallin:masterfrom
CalaW:pybind11

Conversation

@CalaW
Copy link

@CalaW CalaW commented Apr 19, 2025

This PR replaces Boost.Python with pybind11, which has become the de facto standard for Python bindings in C++.

Key improvements:

  • Simplified binding code, thanks to pybind11’s automatic handling of standard containers.
  • Easier build process, as pybind11 is a lightweight, header-only library.
  • Additionally, this PR includes fixes for existing CI errors. I'm happy to split those into a separate PR if preferred.

Note: This is still a draft. Documentation updates are pending. Please review the current changes and share your feedback. Once everyone is on board, I’ll proceed with updating the docs.

This should resolve #164.

@CalaW CalaW marked this pull request as ready for review April 25, 2025 10:02
@CalaW
Copy link
Author

CalaW commented May 24, 2025

Hi @aewallin @vespakoen, just following up on this PR. If either of you happens to have some spare time, would you mind giving it a look or testing it out? I’d be happy to make any necessary changes. Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support python3.12, Blender 4.0.2 uses python3.12

1 participant