-
Notifications
You must be signed in to change notification settings - Fork 35
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(Makefile): make python3-config protable #177
Conversation
When using python virtual environment, python-config or python3-config are maybe not included in PATH, and thus the command may return incorrect information of python configuration.
I would encourage you to make sure CI passes in your fork before filing a PR. |
We should not allow any possibility of running Python 2.
This is a good idea. I will do that next time. |
By using cmake native helpers, e.g. get_filename_component, we can make sure the job able to run across platforms.
using make functions while we can since it runs faster than shell
Updated the pull request according to the above comments and suggestions. Ready to review again. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot.
When using python virtual environment, python-config or python3-config are maybe not included in PATH, and thus the command may return incorrect information of python configuration.