Little change to the install script to support the reproducible builds effort.

Tue, 18 Jul 2017 19:14:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 18 Jul 2017 19:14:20 +0200
changeset 5810
12d917813110
parent 5806
2405d595c9cf
child 5812
ffc31e1cff4e

Little change to the install script to support the reproducible builds effort.

install.py file | annotate | diff | comparison | revisions
--- 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