View Single Post
Old 01-09-2012, 03:14 AM   #4
Kevin McAleavey
Junior Member
Kevin McAleavey began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2012
Location: Albany, NY
Device: none
Quote:
Originally Posted by kovidgoyal View Post
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.

Last edited by Kevin McAleavey; 01-09-2012 at 03:28 AM.
Kevin McAleavey is offline   Reply With Quote