Skip to content
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: better support for python3 systems #14737

Closed
wants to merge 1 commit into from

Commits on Aug 17, 2017

  1. build: better support for python3 systems

    Improve support for systems where `python` is actually `python3`.
    
    Not all systems have a `python2` binary, so simply updating the shebang
    won't work.
    
    What we can do is apply some cleverness: start life as a shell script,
    locate the python binary, then re-execute the script but this time as
    python code.
    
    Special care is taken to ensure that spaces in arguments are passed on
    verbatim.
    bnoordhuis committed Aug 17, 2017
    Configuration menu
    Copy the full SHA
    e1a700d View commit details
    Browse the repository at this point in the history