Merge pull request #108 from vkbo/pip_package

Added GUI only version to the setuptools script
This commit is contained in:
Veronica K. Berglyd Olsen
2019-10-31 19:04:40 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+4 -1
View File
@@ -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"]},