by pserwylo · 14y ago · 0 comments
#!/usr/bin/python
shebang, and expects it to reference Python 2, thus causing breakage.
ETA: Arch Linux actually did this before there was an "official" guideline. http://www.wefearchange.org/2012/04/python-3-on-desktop-for-...
Thanks for the pointer.
#!/usr/bin/env python
too
#!/usr/bin/env python2 #!/usr/bin/env python3
Explicitly declaring the required version fixes that problem. In arch, most of the PKGBUILDs will have a line to sed the explicit line into the file in place of the generic python line.