Last modified: 2013-12-20 19:07:20 UTC
Python could be installed on different place on different OSes. For example, it's located at /usr/local/bin/python on FreeBSD. On a Solaris machine, it could be at an arbitrary path, like /opt/ts/python/<version>/bin/python The best practice is so to find python in the enviroment prompt, instead to hardcore a path. We then call /usr/bin/env (which is a standard executable in every POSIX OS, so always there).
Change 97353 had a related patch set uploaded by Dereckson: Make wikimetrics less Linux-centric, more UNIX-agnostic https://gerrit.wikimedia.org/r/97353
Change 97353 merged by Milimetric: Make wikimetrics less Linux-centric, more UNIX-agnostic https://gerrit.wikimedia.org/r/97353
Can we close this? -Toby
Thanks for the patch!