scripts/install.py

branch
eric7
changeset 11043
8cfceca767e1
parent 11022
95c889f18a21
child 11053
5f044e09aba5
--- a/scripts/install.py	Wed Nov 06 19:19:29 2024 +0100
+++ b/scripts/install.py	Sat Nov 09 13:28:47 2024 +0100
@@ -760,7 +760,11 @@
         # make the install directories
         for key in cfg:
             if cfg[key] and not os.path.isdir(cfg[key]):
-                os.makedirs(cfg[key])
+                try:
+                    os.makedirs(cfg[key])
+                except OSError:
+                    if key != "apidir":
+                        raise
 
         # copy the eric config file
         if distDir:

eric ide

mercurial