diff -r 70f269d529e4 -r d92a18dffa5e scripts/install.py --- a/scripts/install.py Thu Jul 14 10:21:36 2022 +0200 +++ b/scripts/install.py Thu Jul 14 11:19:59 2022 +0200 @@ -2188,15 +2188,15 @@ sourceDir = os.path.abspath("..") eric7SourceDir = ( - os.path.join(sourceDir, "eric7") - if os.path.exists(os.path.join(sourceDir, "eric7")) - else os.path.join(sourceDir, "src", "eric7") + os.path.join(sourceDir, "src", "eric7") + if os.path.exists(os.path.join(sourceDir, "src", "eric7")) + else os.path.join(sourceDir, "eric7") ) # cleanup source if installing from source if installFromSource: print("Cleaning up source ...") - cleanupSource(eric7SourceDir) + cleanupSource(sourceDir) print() configName = os.path.join(eric7SourceDir, "eric7config.py")