install.py

changeset 5810
12d917813110
parent 5711
50b6867ffcd3
child 5963
14522ec8cd08
--- a/install.py	Sun Jul 16 13:57:13 2017 +0200
+++ b/install.py	Tue Jul 18 19:14:20 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