Skip to content

Support building for Python 3#26

Open
allardhoeve wants to merge 1 commit intoBiomechanical-ToolKit:masterfrom
allardhoeve:master
Open

Support building for Python 3#26
allardhoeve wants to merge 1 commit intoBiomechanical-ToolKit:masterfrom
allardhoeve:master

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