-
Notifications
You must be signed in to change notification settings - Fork 768
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: fix python_finder
: prefer python2, look for/prefer .so
#55
Conversation
Travis is not happy |
That's a flake8 error for the testdata files. It seems to be unrelated to this PR, isn't it? |
# So we are forced to do its job for it. | ||
python_prefix=$(python-config --prefix | sed 's/^[ \t]*//') | ||
# Prefer python2-config over python-config. | ||
hash python2-config 2>/dev/null && python_config=python2-config \ |
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.
It seems you want to use command_exists
, which is declared in this file.
b41a5af
to
0caf357
Compare
You need to state did you sign the Google CLA. |
Also, why should we prefer the .so version of the .a? |
This fixes building YCM / ycmd for pyenv with python3 and python2 activated/configured.
I had a `.rej` file from `patch` for a submodule, and check_third_party_libs complained about it.
0caf357
to
cbcef3a
Compare
I am not sure and remember it not completely anymore. It is probably related to first installing python without
No. |
You can't push anything to the repo if you do not sign the Google CLA. |
Then please don't send pull requests! |
This fixes building YCM / ycmd for pyenv with python3 and python2
activated/configured.