[gstreamer-bugs] [Bug 584633] gst-python uses "#!/usr/bin/env python"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Mar 22 13:03:59 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=584633
GStreamer | gst-python | git
--- Comment #7 from Brian Cameron <brian.cameron at sun.com> 2010-03-22 20:03:55 UTC ---
It would be better if you could just configure gst-python to use a specified
version of PYTHON. For example, if you set the PYTHON environment variable
before configuring to a specific version, it should honor that, and default
back to "#!/usr/bin/env python" if none is specified. Other modules work this
way.
For example, note gobject-introspection version 0.6.9:
The configure.ac file uses AM_PATH_PYTHON like this which sets PYTHON to the
executable name.
AC_MSG_CHECKING([whether Python support is requested])
AM_PATH_PYTHON([2.5])
Then the python script tools/g-ir-scanner.in has this to specify the "#!" line
at the beginning.
#!@PYTHON@
Wouldn't it make sense to use this sort of flexible mechanism that other GNOME
modules are using already?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list