diff -r b011307033d5 -r bb05d1db9286 scripts/install.py --- a/scripts/install.py Thu Oct 31 10:54:59 2024 +0100 +++ b/scripts/install.py Sat Nov 30 11:08:07 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: @@ -1603,8 +1607,8 @@ print("\n") # perform dependency checks - if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0): - print("Sorry, you must have Python 3.8.0 or higher, but less 3.14.0.") + if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 14, 0): + print("Sorry, you must have Python 3.9.0 or higher, but less 3.14.0.") print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) exit(5) @@ -1731,6 +1735,7 @@ "wheel": ("wheel", ""), "esprima": ("esprima", ""), "fido2": ("fido2", ""), + "pyusb": ("usb", ">=1.2.0"), } if withPyqt6Tools: optionalModulesList["qt6-applications"] = ("qt6_applications", "") @@ -2243,8 +2248,8 @@ global withPyqt6Tools global verbose - if sys.version_info < (3, 8, 0) or sys.version_info > (3, 99, 99): - print("Sorry, eric requires at least Python 3.8 for running.") + if sys.version_info < (3, 9, 0) or sys.version_info > (3, 99, 99): + print("Sorry, eric requires at least Python 3.9 for running.") exit(5) installCwd = os.getcwd()