install.py

branch
maintenance
changeset 5825
9487c08b6a23
parent 5810
12d917813110
child 5963
14522ec8cd08
--- a/install.py	Thu Jul 06 18:59:43 2017 +0200
+++ b/install.py	Wed Aug 02 13:28:50 2017 +0200
@@ -1052,13 +1052,13 @@
     apis = []
     if installApis:
         for progLanguage in progLanguages:
-            for apiName in glob.glob(
-                    os.path.join(sourceDir, "APIs", progLanguage, "*.api")):
+            for apiName in sorted(glob.glob(
+                    os.path.join(sourceDir, "APIs", progLanguage, "*.api"))):
                 apis.append(os.path.basename(apiName))
             if progLanguage == "Python":
                 # treat Python3 API files the same as Python API files
-                for apiName in glob.glob(
-                        os.path.join(sourceDir, "APIs", "Python3", "*.api")):
+                for apiName in sorted(glob.glob(
+                        os.path.join(sourceDir, "APIs", "Python3", "*.api"))):
                     apis.append(os.path.basename(apiName))
     
     fn = 'eric6config.py'

eric ide

mercurial