install.py

branch
maintenance
changeset 5825
9487c08b6a23
parent 5810
12d917813110
child 5963
14522ec8cd08
equal deleted inserted replaced
5790:6411ee48fe91 5825:9487c08b6a23
1050 global cfg, sourceDir, macAppBundlePath 1050 global cfg, sourceDir, macAppBundlePath
1051 1051
1052 apis = [] 1052 apis = []
1053 if installApis: 1053 if installApis:
1054 for progLanguage in progLanguages: 1054 for progLanguage in progLanguages:
1055 for apiName in glob.glob( 1055 for apiName in sorted(glob.glob(
1056 os.path.join(sourceDir, "APIs", progLanguage, "*.api")): 1056 os.path.join(sourceDir, "APIs", progLanguage, "*.api"))):
1057 apis.append(os.path.basename(apiName)) 1057 apis.append(os.path.basename(apiName))
1058 if progLanguage == "Python": 1058 if progLanguage == "Python":
1059 # treat Python3 API files the same as Python API files 1059 # treat Python3 API files the same as Python API files
1060 for apiName in glob.glob( 1060 for apiName in sorted(glob.glob(
1061 os.path.join(sourceDir, "APIs", "Python3", "*.api")): 1061 os.path.join(sourceDir, "APIs", "Python3", "*.api"))):
1062 apis.append(os.path.basename(apiName)) 1062 apis.append(os.path.basename(apiName))
1063 1063
1064 fn = 'eric6config.py' 1064 fn = 'eric6config.py'
1065 config = ( 1065 config = (
1066 """# -*- coding: utf-8 -*-\n""" 1066 """# -*- coding: utf-8 -*-\n"""

eric ide

mercurial