Fixed bug in parsing git --version on macos
This PR fixes a naivety in setup_utils.py
when parsing the output of git --version
. On macOS:
$ /usr/bin/git --version
git version 2.14.3 (Apple Git-98)
so we need to strip the 2th (3rd) word of the output, and not the last.
cc: @scottcoughlin2014