Sat, 09 Nov 2024 13:28:47 +0100
Modified install script to ignore an issue creating the APIs directory (in case environment was created with --system-site-packages).
scripts/install.py | file | annotate | diff | comparison | revisions |
--- 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: