https://bugzilla.wikimedia.org/show_bug.cgi?id=57494

       Web browser: ---
            Bug ID: 57494
           Summary: #!/usr/bin/python path is hardcoded (linuxism)
           Product: Analytics
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Wikimetrics
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to