Quote:
Originally Posted by kovidgoyal
calibre uses
#!/usr/bin/env python2
It has for a long time. How did you get a version that uses bare python?
|
Hey guy!
FreeBSD package. There is no "python2" in BSD, it's "python2.7" ... used to be "python2.5" a while back. BSD allows multiple versions to run side by side *if* the version is specified, otherwise it defaults to whatever "wins." But the FreeBSD distro of the package for 9 version has your top script saying "#!/usr/bin/env python" ... have it here on my screen.
FYI: Maintainer of the port for FreeBSD is Rusty Nejdl <rnejdl@ringofsaturn.com>
Edit again: Just CONFIRMED that with "python2" up there, fails on BSD. It NEEDS 2.7 in order to match the existing versions available. Any chance of hunting for the version and slapping it in there for BSD? I have no problem doing it for our own stuff once I establish all of the modules that need the edit, but I think I know why they stripped the "2" off your source now.