From e04a69131e2f550285597d3894e90159392d1eed Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Mon, 14 Jan 2019 15:13:32 +0100 Subject: [PATCH] setup: Fix condition for Python version and pyuic --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c8dd63b0a6..96c0b017d9 100755 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def finalize_options(self): def run(self): self.announce('Building Qt applications...', WARN) make = self.find_executable('make', ('gmake', 'make')) - if PY3: + if not PY3: pyuic5 = self.find_executable( 'pyuic5', ('python2-pyuic5', 'pyuic5-python2.7', 'pyuic5')) -- GitLab