Files
novelWriter/novelWriter.py
T
Veronica K. B. Olsen 05989fdc58 Improve setup for Windows
2021-02-03 16:58:42 +01:00

22 lines
461 B
Python
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
novelWriter Terminal Start Script
===================================
The main start script for the terminal
"""
import sys
try:
import PyQt5.QtWidgets # noqa: F401
import PyQt5.QtGui # noqa: F401
import PyQt5.QtCore # noqa: F401
except Exception:
print("ERROR: Failed to load dependency python3-pyqt5")
sys.exit(1)
if __name__ == "__main__":
import nw
nw.main(sys.argv[1:])