[Pythonmac-SIG] Workaround: XCode fails to see py2app
Christopher Barker
Chris.Barker at noaa.gov
Wed Sep 19 00:48:06 CEST 2007
Wolfram Eifler wrote:
> there has been the proposal to change the first line of setup.py from
> #!/usr/bin/env python
> to
> #!<insert absolute path of your python-interpreter>
> somwhere on the internet. That works but is ---- *BAD* !!!!
> Programming Style ----.
Agreed, but:
#!/usr/bin/env python2.5
Isn't so bad -- indeed, I like it, as it makes it quite clear what
version of python your code has been tested on.
Of course, python2.5 will have to be on your PATH for this to work.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list