Globals/__init__.py

changeset 1363
d650915a903c
parent 1221
291dc0a51947
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1362:620b8eaf4126 1363:d650915a903c
74 ] 74 ]
75 for exe in exeList: 75 for exe in exeList:
76 interpreter = os.path.join(path, exe) 76 interpreter = os.path.join(path, exe)
77 if os.path.isfile(interpreter): 77 if os.path.isfile(interpreter):
78 interpreters.append(interpreter) 78 interpreters.append(interpreter)
79 ## elif isMacPlatform():
80 ## # don't know how to do this due to lack of a Mac
81 ## pass
82 else: 79 else:
83 # search interpreters on Posix platforms 80 # search interpreters on Posix and Mac platforms
84 for path in posixPathList: 81 for path in posixPathList:
85 for version in posixVersionsList: 82 for version in posixVersionsList:
86 interpreter = os.path.join(path, "python{0}".format(version)) 83 interpreter = os.path.join(path, "python{0}".format(version))
87 if os.path.isfile(interpreter): 84 if os.path.isfile(interpreter):
88 interpreters.append(interpreter) 85 interpreters.append(interpreter)

eric ide

mercurial