Back to issue list Export

The script shabang is very platform specific to Mac OSX with MacPorts installed. There must be some way to choose Python 2.7 automatically on most systems. Find it and use it.

travisb 2012-06-18 04:21:39
hash: dee238d18631be9cd9e2b9daeee971724b03a7e41740cb0fc62c8fafb688b4c7
Date: 2012-06-18 04:21:39
User: travisb

It turns out it's relatively simple, but there is one wrinkle. The solution is simply a #!/usr/bin/env python2.7 The wrinkle is that on many of the machines I use python2.7 is required, just python won't work. So that's what it's set too. Nitpick does require python 2.7 or later in any case.


Tracked by Nitpick