Skip to content
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

Update CMakeLists.txt for python bindings #394

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Conversation

andyneff
Copy link
Contributor

The "Development" component of Python3 needs more files than we care about (e.g. libpython3.xx.so).

However when compiling a module, we only need part of the development files, (e.g. the headers).

To support this distinction, cmake added Development.Modules in 3.18 so that this will work in more environments (e.g. docker image quay.io/pypa/manylinux_2_28_x86_64)

The "Development" component of  Python3 needs more files than we care about (e.g. `libpython3.xx.so`). How ever when compiling a module, we less files, (e.g. the headers). To support this distinction, [cmake added `Development.Modules`](https://cmake.org/cmake/help/latest/module/FindPython3.html) so that this will work in more environments (e.g. docker image `quay.io/pypa/manylinux_2_28_x86_64`)
Copy link

google-cla bot commented Nov 29, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@jmr
Copy link
Member

jmr commented Nov 30, 2024

Thanks. 3.18 looks old enough that it shouldn't cause any problems.

@jmr jmr merged commit 5b7598c into google:master Nov 30, 2024
1 check passed
@andyneff andyneff deleted the patch-1 branch December 2, 2024 15:30
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.

2 participants