diff --git a/nw/__init__.py b/nw/__init__.py index dd091a10..6954a746 100644 --- a/nw/__init__.py +++ b/nw/__init__.py @@ -144,7 +144,7 @@ def main(sysArgs=None): sys.exit() elif inOpt in ("-d", "--debug"): debugLevel = logging.DEBUG - debugStr = "{name:>22}:{lineno:<4d} {levelname:8} {message:}" + debugStr = "{name:>30}:{lineno:<4d} {levelname:8} {message:}" elif inOpt in ("-l","--logfile"): logFile = inArg toFile = True diff --git a/setup.py b/setup.py index 9e24b86e..bbcb1586 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,10 @@ setuptools.setup( long_description_content_type = "text/markdown", license = "GNU General Public License v3", url = "https://github.com/vkbo/novelWriter", - entry_points={"console_scripts": ["novelWriter=nw:main"]}, + entry_points = { + "console_scripts" : ["novelWriter=nw:main"], + "gui_scripts" : ["novelWriter-gui=nw:main"], + }, packages = setuptools.find_packages(exclude=["docs","tests","sample"]), include_package_data = True, package_data = {"": ["*.conf"]},