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

Support building for Python 3 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

allardhoeve
Copy link

@allardhoeve allardhoeve commented Mar 28, 2019

The library just works for Python 3, but the compilation has a small problem with print no longer being a keyword but a function. This makes it so that CMAKE thinks numpy is not installed.

So this PR changes the CMAKE instructions needed to find numpy so that they work on both Python 3 and Python 2.

Note that Python 2.7 will be end-of-life in about seven months, so getting Python 3 support in is pretty important. Luckily it seems to be very easy.

@allardhoeve
Copy link
Author

Any chance of this going in @Alzathar? Thanks.

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.

1 participant