Merge pull request #108 from vkbo/pip_package
Added GUI only version to the setuptools script
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ def main(sysArgs=None):
|
|||||||
sys.exit()
|
sys.exit()
|
||||||
elif inOpt in ("-d", "--debug"):
|
elif inOpt in ("-d", "--debug"):
|
||||||
debugLevel = logging.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"):
|
elif inOpt in ("-l","--logfile"):
|
||||||
logFile = inArg
|
logFile = inArg
|
||||||
toFile = True
|
toFile = True
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ setuptools.setup(
|
|||||||
long_description_content_type = "text/markdown",
|
long_description_content_type = "text/markdown",
|
||||||
license = "GNU General Public License v3",
|
license = "GNU General Public License v3",
|
||||||
url = "https://github.com/vkbo/novelWriter",
|
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"]),
|
packages = setuptools.find_packages(exclude=["docs","tests","sample"]),
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
package_data = {"": ["*.conf"]},
|
package_data = {"": ["*.conf"]},
|
||||||
|
|||||||
Reference in New Issue
Block a user