-
Notifications
You must be signed in to change notification settings - Fork 544
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
enable Python bindings for Windows and macOS #311
Merged
christian-rauch
merged 22 commits into
AprilRobotics:master
from
christian-rauch:test_shared_off
Jan 30, 2024
Merged
enable Python bindings for Windows and macOS #311
christian-rauch
merged 22 commits into
AprilRobotics:master
from
christian-rauch:test_shared_off
Jan 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
christian-rauch
force-pushed
the
test_shared_off
branch
5 times, most recently
from
January 22, 2024 19:39
e4f417b
to
5724814
Compare
christian-rauch
force-pushed
the
test_shared_off
branch
from
January 24, 2024 20:21
5724814
to
659ef85
Compare
christian-rauch
changed the title
test shared/static and Release/Debug on CI
enable Python bindings for Windows and macOS
Jan 24, 2024
christian-rauch
force-pushed
the
test_shared_off
branch
from
January 24, 2024 20:48
659ef85
to
95a6fd4
Compare
christian-rauch
force-pushed
the
test_shared_off
branch
from
January 28, 2024 09:47
95a6fd4
to
68ab7e3
Compare
@mkrogius @wxmerkt In order to make the Python bindings usable for binary distributed packages and other OSes, the "breaking change" in this PR is the install location for the Python module. I assume you are ok with this, as the new install location is the proper path determined from the CMake install path. |
For sure! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
FindPythonLibs
module has been deprecated since CMake 3.12. The newerFindPython
provides a better and more portable way to build Python modules without the need for a dedicated script to determine the system configuration. This allows us now to build the Python bindings on Windows and macOS. This PR also changes the install path for the resulting Python module from the "user site" to something determined by the given CMake install path. This allows us to properly install the Python bindings when distributing binary packages.Addresses #267 (comment).