-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make python3 the default language #37
Comments
For reference, after having upgraded my Ubuntu setup to 20.04 “focal” release, Python2 got uninstalled so I was not able to build the game… Fortunately I was able to reinstall Python2 but it means so many applications were ported that my own installation did not required Python2 for distro-provided packages I use. |
@Viech is that something you can investigate? |
As I recall, Viech actually originally targeted Python 3 when writing the scripts. We then requested Python 2 compatibility so that it could use the same interpreter as the NaCl toolchain. Viech expressed dismay at this requirement, but then it turned out that the code already worked in Python 2 without any modifications. (I even managed to find this conversation in my logs, but it is fairly long and noisy so I will not post it.) |
That does sound like @Viech (who is a Python library developer these days and is still haunted by Python 2 compatibility requirements on a semidaily basis). |
So, the real issue seems to be the NaCl toolchain… 😕 |
The shebang still relies on
python
(and does not useenv
), maybe it already works withpython3
but I haven't tested.Since Python2 is now deprecated we must:
/usr/bin/env python3
instead of/usr/bin/python
Since Python2 is now deprecated we can:
The text was updated successfully, but these errors were encountered: