1676 scintillaVersion += '.0' |
1676 scintillaVersion += '.0' |
1677 (major, minor, pat) = scintillaVersion.split('.') |
1677 (major, minor, pat) = scintillaVersion.split('.') |
1678 major = int(major) |
1678 major = int(major) |
1679 minor = int(minor) |
1679 minor = int(minor) |
1680 pat = int(pat) |
1680 pat = int(pat) |
1681 if major < 2 or (major == 2 and minor < 10): |
1681 if major < 2 or (major == 2 and minor < 9): |
1682 print('Sorry, you must have QScintilla 2.10.0 or higher or' |
1682 print('Sorry, you must have QScintilla 2.9.0 or higher or' |
1683 ' a recent snapshot release.') |
1683 ' a recent snapshot release.') |
1684 exit(5) |
1684 exit(5) |
1685 # check for blacklisted versions |
1685 # check for blacklisted versions |
1686 for vers in BlackLists["QScintilla2"] + \ |
1686 for vers in BlackLists["QScintilla2"] + \ |
1687 PlatformBlackLists["QScintilla2"]: |
1687 PlatformBlackLists["QScintilla2"]: |