install: moved the dependencies check earlier in the installiation order.

Wed, 19 Dec 2018 11:10:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 19 Dec 2018 11:10:42 +0100
changeset 6641
42de1c3e8777
parent 6640
b7e8d080989e
child 6642
cdf94f583d03

install: moved the dependencies check earlier in the installiation order.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Wed Dec 19 11:06:09 2018 +0100
+++ b/install.py	Wed Dec 19 11:10:42 2018 +0100
@@ -1939,6 +1939,10 @@
     infoName = ""
     installFromSource = not os.path.isdir(sourceDir)
     
+    # check dependencies
+    if depChecks:
+        doDependancyChecks()
+    
     # cleanup source if installing from source
     if installFromSource:
         print("Cleaning up source ...")
@@ -1957,9 +1961,6 @@
     if len(cfg) == 0:
         createInstallConfig()
     
-    if depChecks:
-        doDependancyChecks()
-    
     # get rid of development config file, if it exists
     try:
         if installFromSource:

eric ide

mercurial