Mattschillinger / wikiteam

Automatically exported from code.google.com/p/wikiteam
0 stars 0 forks source link

Python Script Shabang Line #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On the Python scripts, the shebang line is as follows:
    #!/usr/bin/python
I believe it should be something like this instead:
    #!/usr/bin/env python2

Env is the more standard way to do environment lookups I believe (works even if 
python2 binary is in /bin, that sorta stuff.

I think it would be best to go to python2 instead of just python, seeing as 
some distros (including the one I run, Arch) have Python3 as the default Python 
interpreter. Just a bit nicer for cross-platform compatability's sake

Original issue reported on code.google.com by dan...@danieloaks.net on 22 Jan 2014 at 3:57

GoogleCodeExporter commented 8 years ago
Yep, that's more standard according to my limited knowledge too, but would need 
some testing nevertheless before it lands trunk. I broke the scripts too many 
times already! :P

Original comment by nemow...@gmail.com on 22 Jan 2014 at 4:04

GoogleCodeExporter commented 8 years ago
Issue 84 has been merged into this issue.

Original comment by nemow...@gmail.com on 22 Jan 2014 at 4:05

GoogleCodeExporter commented 8 years ago
Issue 83 has been merged into this issue.

Original comment by nemow...@gmail.com on 22 Jan 2014 at 4:05

GoogleCodeExporter commented 8 years ago
Done with r962, nobody objected to this proposal here nor on #wikiteam.
There is still the problem that we call "python dumpgenerator.py" from 
launcher.py, maybe we should use "python2" but I'm not sure if that explodes on 
Windows; separate problem anyway.

Original comment by nemow...@gmail.com on 26 Feb 2014 at 11:26