install.py

branch
5_2_x
changeset 2289
7b2519d90e29
parent 2178
fd00606ce958
child 2303
0ed4ed026c16
equal deleted inserted replaced
2288:b84ded2e62a4 2289:7b2519d90e29
831 pyqtVersion += '.0' 831 pyqtVersion += '.0'
832 (maj, min, pat) = pyqtVersion.split('.') 832 (maj, min, pat) = pyqtVersion.split('.')
833 maj = int(maj) 833 maj = int(maj)
834 min = int(min) 834 min = int(min)
835 pat = int(pat) 835 pat = int(pat)
836 if maj < 4 or (maj == 4 and min < 7): 836 if maj < 4 or (maj == 4 and min < 8):
837 print('Sorry, you must have PyQt 4.7.0 or higher or' \ 837 print('Sorry, you must have PyQt 4.8.0 or higher or' \
838 ' a recent snapshot release.') 838 ' a recent snapshot release.')
839 exit(4) 839 exit(4)
840 # check for blacklisted versions 840 # check for blacklisted versions
841 for vers in BlackLists["PyQt4"] + PlatformBlackLists["PyQt4"]: 841 for vers in BlackLists["PyQt4"] + PlatformBlackLists["PyQt4"]:
842 if vers == pyqtVersion: 842 if vers == pyqtVersion:
855 scintillaVersion += '.0' 855 scintillaVersion += '.0'
856 (maj, min, pat) = scintillaVersion.split('.') 856 (maj, min, pat) = scintillaVersion.split('.')
857 maj = int(maj) 857 maj = int(maj)
858 min = int(min) 858 min = int(min)
859 pat = int(pat) 859 pat = int(pat)
860 if maj < 2 or (maj == 2 and min < 4): 860 if maj < 2 or (maj == 2 and min < 6):
861 print('Sorry, you must have QScintilla 2.4.0 or higher or' \ 861 print('Sorry, you must have QScintilla 2.6.0 or higher or' \
862 ' a recent snapshot release.') 862 ' a recent snapshot release.')
863 exit(5) 863 exit(5)
864 # check for blacklisted versions 864 # check for blacklisted versions
865 for vers in BlackLists["QScintilla2"] + PlatformBlackLists["QScintilla2"]: 865 for vers in BlackLists["QScintilla2"] + PlatformBlackLists["QScintilla2"]:
866 if vers == scintillaVersion: 866 if vers == scintillaVersion:

eric ide

mercurial