--- a/PluginPyLint.py Fri Jul 29 19:26:37 2011 +0200 +++ b/PluginPyLint.py Mon Nov 21 19:24:41 2011 +0100 @@ -130,11 +130,15 @@ # step 2: determine the Python 3 variant found = False + if Utilities.isMacPlatform(): + checkStr = "Python.framework/Versions/3".lower() + else: + checkStr = "python3" for exe in exes: try: f = open(exe, "r") line0 = f.readline() - if "python3" in line0.lower(): + if checkStr in line0.lower(): found = True finally: f.close()