[Webkit-unassigned] [Bug 184986] Make all python scripts compatible with both python2 and python3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 07:51:38 PST 2019


--- Comment #11 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Michael Catanzaro from comment #10)
> Looking at Tom's Fedora patch, it looks like there are only two scripts
> remaining to finish (1):
> Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
> (Executes a python interpreter)

Maybe no more changes needed here. It does this:

my $python = ($OSNAME =~ /cygwin/) ? "/usr/bin/python" : "python";
// ...
$python = $ENV{"PYTHON"} if defined($ENV{"PYTHON"});

If CMake always sets $PYTHON, then that's sufficient, and the only remaining task is to port generate-gtkdoc.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190117/707600ea/attachment.html>

More information about the webkit-unassigned mailing list