Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Clean-up python detection #1582
This changes Python detection to make it try a sequence of possibilities. Every possibility will be tried discarding errors along the way, only giving up when there's nothing else to try. This should make Python detection more robust.
This stops using
@refack I based this on your commit from #1269 . Ended up changing much of it, but I used some of the info text so I include your commit for proper credit. Let me know if I should remove it or if you want to land #1269 separately. I rebased it on master and included
The code here will try all the mechanisms for detecting Python. It will produce log messages at