--- a/scripts/install.py Wed Oct 12 19:54:22 2022 +0200 +++ b/scripts/install.py Thu Oct 13 17:55:37 2022 +0200 @@ -1215,9 +1215,7 @@ """\n""" """{0}""" """{1}""" - """exec "{2}" "-m" "eric7" "$@"\n""".format( - pathLine, dyldLine, starter - ) + """exec "{2}" "-m" "eric7" "$@"\n""".format(pathLine, dyldLine, starter) ) copyToFile(wname, wrapper) os.chmod(wname, 0o755) # secok @@ -2053,16 +2051,18 @@ os.path.join(cfg["ericPixDir"], "ericWeb48.ico"), ), ] - + if clean: # clean obsolete entries as well - entriesTemplates.extend([ - ( - "eric7 (Python {0}.{1}).lnk", - os.path.join(cfg["bindir"], "eric7_ide.cmd"), - os.path.join(cfg["ericPixDir"], "eric7.ico"), - ), - ]) + entriesTemplates.extend( + [ + ( + "eric7 (Python {0}.{1}).lnk", + os.path.join(cfg["bindir"], "eric7_ide.cmd"), + os.path.join(cfg["ericPixDir"], "eric7.ico"), + ), + ] + ) return [ (e[0].format(majorVersion, minorVersion), e[1], e[2]) for e in entriesTemplates @@ -2116,8 +2116,15 @@ optlist, args = getopt.getopt( argv[1:], "chvxza:b:d:f:", - ["clean-desktop", "help", "no-apis", "no-info", "verbose", "with-tools", - "yes"], + [ + "clean-desktop", + "help", + "no-apis", + "no-info", + "verbose", + "with-tools", + "yes", + ], ) elif sys.platform == "darwin": optlist, args = getopt.getopt(