diff --git a/setup.py b/setup.py index c8dd63b0a68d0f9ec715ccc26f6b37361847aa85..96c0b017d9e0b58c0ab48c0651f81b44a193e755 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'))