mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Use the QMAKE environment variable when building PyQt extensions
This commit is contained in:
parent
63439090b4
commit
6b238e35a2
@ -15,6 +15,7 @@ import sipconfig, os, sys, string, glob, shutil
|
|||||||
from PyQt4 import pyqtconfig
|
from PyQt4 import pyqtconfig
|
||||||
iswindows = 'win32' in sys.platform
|
iswindows = 'win32' in sys.platform
|
||||||
QMAKE = os.path.expanduser('~/qt/bin/qmake') if 'darwin' in sys.platform else'qmake'
|
QMAKE = os.path.expanduser('~/qt/bin/qmake') if 'darwin' in sys.platform else'qmake'
|
||||||
|
QMAKE = os.environ.get('QMAKE', QMAKE)
|
||||||
WINDOWS_PYTHON = ['C:/Python26/libs']
|
WINDOWS_PYTHON = ['C:/Python26/libs']
|
||||||
OSX_SDK = '/Developer/SDKs/MacOSX10.4u.sdk'
|
OSX_SDK = '/Developer/SDKs/MacOSX10.4u.sdk'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user