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

build(wrappers/python): improve python detection #610

Merged
merged 1 commit into from May 10, 2020
Merged

Conversation

piedar
Copy link
Contributor

@piedar piedar commented Feb 16, 2020

This PR improves detection of the Python interpreter and libraries via new CMake features like FindPython3. There is now also the ability to specify the exact Python version like

cmake .. -DBUILD_PYTHON3=ON -DPython3_EXACTVERSION="3.6.9"

which is useful on Gentoo where numpy is not yet available for python3.7.

@piedar piedar added this to the v0.6.1 milestone Feb 16, 2020
@piedar piedar force-pushed the python-build branch 2 times, most recently from c4b55b7 to 29b4829 Compare February 16, 2020 06:19
@piedar piedar modified the milestones: v0.6.1, v0.6.2 Mar 19, 2020
@piedar
Copy link
Contributor Author

piedar commented Mar 19, 2020

The latest Ubuntu LTS 18.04 bionic is still on cmake-3.10.2. The next LTS release should be out soon so I'll keep this PR pending until then.

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
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.

None yet

1 participant