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 files assume python is python2 #2

Open
gbin opened this issue Jan 22, 2016 · 0 comments
Open

build files assume python is python2 #2

gbin opened this issue Jan 22, 2016 · 0 comments

Comments

@gbin
Copy link

gbin commented Jan 22, 2016

On arch, python is python3.
I had to hack around my system to make it run with a dummy python script like this:

/usr/local/bin/python
#!/bin/bash
script=$(readlink -f -- "$1")
case "$script" in (/path/to/project1/*|/path/to/project2/*|/path/to/project3*)
    exec python2 "$@"
    ;;
esac

exec python3 "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant