@@ -4,6 +4,7 @@ dist/
|
|||||||
build/
|
build/
|
||||||
deploy/
|
deploy/
|
||||||
*.spec
|
*.spec
|
||||||
|
*.egg-info
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
docs/build/
|
docs/build/
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
include LICENSE.md
|
||||||
|
recursive-include nw/graphics *
|
||||||
|
recursive-include nw/themes *
|
||||||
+4
-1
@@ -67,10 +67,13 @@ logger = logging.getLogger(__name__)
|
|||||||
# Load the main config as a global object
|
# Load the main config as a global object
|
||||||
CONFIG = Config()
|
CONFIG = Config()
|
||||||
|
|
||||||
def main(sysArgs):
|
def main(sysArgs=None):
|
||||||
"""Parses command line, sets up logging, and launches main GUI.
|
"""Parses command line, sets up logging, and launches main GUI.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if sysArgs is None:
|
||||||
|
sysArgs = sys.argv[1:]
|
||||||
|
|
||||||
# Valid Input Options
|
# Valid Input Options
|
||||||
shortOpt = "hdDqtl:v"
|
shortOpt = "hdDqtl:v"
|
||||||
longOpt = [
|
longOpt = [
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<novelWriterXML appVersion="0.3.2" fileVersion="1.0" timeStamp="2019-10-31 13:54:16">
|
<novelWriterXML appVersion="0.3.2" fileVersion="1.0" timeStamp="2019-10-31 16:42:12">
|
||||||
<project>
|
<project>
|
||||||
<name>Sample Project</name>
|
<name>Sample Project</name>
|
||||||
<title>Sample Project</title>
|
<title>Sample Project</title>
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[metadata]
|
||||||
|
license_files = LICENSE.md
|
||||||
|
|
||||||
|
[bdist_wheel]
|
||||||
|
universal = 0
|
||||||
@@ -1,7 +1,45 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from distutils.core import setup
|
import setuptools
|
||||||
setup(
|
|
||||||
name="novelwriter",
|
with open("README.md", "r") as inFile:
|
||||||
version="0.3.2",
|
long_description = inFile.read()
|
||||||
py_modules=["nw"],
|
|
||||||
|
setuptools.setup(
|
||||||
|
name = "novelWriter",
|
||||||
|
version = "0.3.2",
|
||||||
|
author = "Veronica Berglyd Olsen",
|
||||||
|
author_email = "code@vkbo.net",
|
||||||
|
description = "A markdown-like document editor for writing novels",
|
||||||
|
long_description = long_description,
|
||||||
|
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"]},
|
||||||
|
packages = setuptools.find_packages(exclude=["docs","tests","sample"]),
|
||||||
|
include_package_data = True,
|
||||||
|
package_data = {"": ["*.conf"]},
|
||||||
|
project_urls = {
|
||||||
|
"Bug Tracker": "https://github.com/vkbo/novelWriter/issues",
|
||||||
|
"Documentation": "https://novelwriter.readthedocs.io/",
|
||||||
|
"Source Code": "https://github.com/vkbo/novelWriter",
|
||||||
|
},
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||||
|
"Development Status :: 3 - Alpha",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Intended Audience :: End Users/Desktop",
|
||||||
|
"Natural Language :: English",
|
||||||
|
"Topic :: Text Editors",
|
||||||
|
],
|
||||||
|
python_requires = ">=3.5",
|
||||||
|
install_requires = [
|
||||||
|
"pyqt5",
|
||||||
|
"appdirs",
|
||||||
|
"lxml",
|
||||||
|
"pyenchant",
|
||||||
|
"pycountry",
|
||||||
|
"latexcodec",
|
||||||
|
"pypandoc",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user