1. biolab
  2. Untitled project
  3. orange

Commits

Aleš Erjavec  committed 7c608ad

Bug fix in orangeqt setup.py

  • Participants
  • Parent commits 6d79289
  • Branches default

Comments (0)

Files changed (1)

File source/orangeqt/setup.py

View file
  • Ignore whitespace
 qt_include_dir = None
 qt_lib_dir = None
 qt_framework = False
+qt_framework_dir = None
 
 # use PyQt4 build time config if provided
 if pyqtconfig is not None:
             # This is the standard Qt4 framework layout
             qt_framework = True
             qt_framework_dir = pjoin(qt_dir, "lib")
-        elif glob(pjoin(qt_dir, "Frameworks", "Qt*.framework")):
+        elif glob.glob(pjoin(qt_dir, "Frameworks", "Qt*.framework")):
             # Also worth checking (standard for bundled apps)
             qt_framework = True
             qt_framework_dir = pjoin(qt_dir, "Frameworks")