-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boost.python is not required to build pyrf24 from source #8
Comments
lamperez
added a commit
that referenced
this issue
Jul 27, 2024
Thanks to @2bndy5, see <#8 (comment)> for details.
Thank you, I have updated the README. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just noticed some inaccurate (or outdated) advice in the README:
xiaomi-lightbar-nrf24/readme.md
Lines 38 to 51 in 2cb59e6
The README should be updated like so:
If installing on a 64-bit Linux, then building from source is only necessary if using PyPy or when using musl instead of GNU C. Installing on a 32-bit system will likely need to build from source, especially if not using the RPi OS 32-bit. The piwheels project does provide 32-bit builds, but they explicitly only support RPi OS 32-bit.
Some history
The boost.python library was only used in the older individual python wrappers (still) provided with each RF24* repository. The pyrf24 project changed that by replacing boost.python with pybind11. Users do not need to install pybind11 as it is included in the pyrf24 source distribution.
All binaries built for the pyrf24 package are isolated to the python env used, so the RF24 C++ libs and boost.python are not required to be installed separately. Those are only prerequisites for the older individual python wrappers.
The text was updated successfully, but these errors were encountered: