deb1608304
- Add patch to fix build on 9.3 i386 - While here regenerate some other patches
11 lines
672 B
Python
11 lines
672 B
Python
--- setup/build_environment.py.orig 2016-05-20 11:45:27 UTC
|
|
+++ setup/build_environment.py
|
|
@@ -103,7 +103,7 @@ def get_sip_dir(q):
|
|
if os.path.exists(os.path.join(base, 'QtWidgets')):
|
|
return base
|
|
raise EnvironmentError('Failed to find the location of the PyQt5 .sip files')
|
|
-pyqt['pyqt_sip_dir'] = get_sip_dir(sys.prefix if iswindows else os.path.join(sys.prefix, 'share', 'sip'))
|
|
+pyqt['pyqt_sip_dir'] = get_sip_dir(sys.prefix if iswindows else os.path.join(sys.prefix, 'share', 'py-sip'))
|
|
pyqt['sip_inc_dir'] = sysconfig.get_path('include')
|
|
|
|
glib_flags = subprocess.check_output([PKGCONFIG, '--libs', 'glib-2.0']).strip() if islinux else ''
|