qscintilla: coherence with py-sip (#32128)

This commit is contained in:
Olivier Cessenat 2022-08-21 20:32:10 +02:00 committed by GitHub
parent ab31256ee7
commit f7424e1fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,6 +152,7 @@ def make_qsci(self):
@run_after("install") @run_after("install")
def extend_path_setup(self): def extend_path_setup(self):
if self.spec["py-sip"].satisfies("@:4"):
# See github issue #14121 and PR #15297 # See github issue #14121 and PR #15297
module = self.spec["py-sip"].variants["module"].value module = self.spec["py-sip"].variants["module"].value
if module != "sip": if module != "sip":