Don't import nw in setup.py

This commit is contained in:
Veronica K. B. Olsen
2020-10-13 19:27:50 +02:00
parent d2325c57a3
commit e5b24e39ee
3 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ except getopt.GetoptError:
for inOpt, inArg in inOpts:
if inOpt in ("-h", "--help"):
print(helpMsg)
sys.exit()
sys.exit(0)
elif inOpt in ("-d", "--debug"):
buildWindowed = False
@@ -72,7 +72,7 @@ if buildWindowed:
instOpt.append("novelWriter.py")
import PyInstaller.__main__ # noqa: F401
import PyInstaller.__main__ # noqa: E402
PyInstaller.__main__.run(instOpt)
print("")