Commit a2b05d40 authored by Pedro Reis's avatar Pedro Reis

Removed FindPyQt from commit

parent 0075250c
......@@ -2,7 +2,7 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
import sys, site
import sys
import os
try:
......@@ -41,7 +41,7 @@ except ValueError:
pass
# FIXME This next line is just a little bit too crude.
pyqt_sip_dir = os.path.join(site.getsitepackages()[0], "PyQt5", "bindings")
pyqt_sip_dir = os.path.join(sys.prefix, "share", "sip", "PyQt5")
print("pyqt_sip_dir:%s" % pyqt_sip_dir)
print("pyqt_sip_flags:%s" % PyQt5.QtCore.PYQT_CONFIGURATION["sip_flags"])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment