From c90b4b5334d121e9fa7a5fc4303a623cc6a10bfb Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Sat, 2 Mar 2013 13:44:02 +0100 Subject: [PATCH] Update for latest Gentoo installs I don't think other distributions use the old naming. Also removing 2.5. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 11faa82a..a4c36490 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def find_executable(name, names): def build_qt(): print 'Building Qt applications' make = find_executable('make', ('gmake', 'make')) - pyuic4 = find_executable('pyuic4', ('python2-pyuic4', 'pyuic4-2.7', 'pyuic4-2.6', 'pyuic4-2.5', 'pyuic4')) + pyuic4 = find_executable('pyuic4', ('python2-pyuic4', 'pyuic4-python2.7', 'pyuic4-python2.6', 'pyuic4')) if not pyuic4 or not make: print >>sys.stderr, 'Install missing component(s) (see above) or disable Qt applications (with --no-qt).' sys.exit(1)