[gst-devel] Re: [gst-cvs] thomasvs gstreamer: gstreamer/docs/devhelp/

David I. Lehn dlehn at vt.edu
Fri May 3 13:46:10 CEST 2002


* Thomas Vander Stichele <thomasvs at users.sourceforge.net> [20020503 11:16]:
> use python2 at all costs
>     docs/devhelp    : Makefile.am html2xml.py
...
> --- html2xml.py	29 Apr 2002 20:53:02 -0000	1.3
> +++ html2xml.py	3 May 2002 15:12:23 -0000	1.4
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/python2
>  import formatter
> 

This is broken on Debian systems.  Debian has python1.5, python2.1,
python2.2.  And 'python' is linked to python2.1 at the moment.  There
used to be a 'python2' but that naming was abandoned because it is
ambiguous with 2.0, 2.1, 2.2 all on the same system.

I'm not sure what the proper way to handle this is.  Could do autoconf
macros to detect the bin name and generate from a html2xml.py.in file...
yuck.

Why did you change from the recommended "#!/usr/bin/env python" form?

-dave
-- 
David I. Lehn <dlehn at vt.edu>  | http://crib.lehn.org:8080/~dlehn/
Computer Engineering Graduate @ Virginia Tech in sunny Blacksburg, VA




More information about the gstreamer-devel mailing list