From e66f19914ea6d8d82e79389f8f09276408df4de0 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sat, 18 Oct 2025 23:14:33 +0200 Subject: [PATCH] Fix case conflict on MacOS and Windows --- novelWriter.py | 8 -------- pyproject.toml | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/novelWriter.py b/novelWriter.py index 78c8db27..9758edee 100755 --- a/novelWriter.py +++ b/novelWriter.py @@ -6,14 +6,6 @@ novelWriter – Start Script import os import sys -try: - import PyQt6.QtCore # noqa: F401 - import PyQt6.QtGui # noqa: F401 - import PyQt6.QtWidgets # noqa: F401 -except Exception: - print("ERROR: Failed to load dependency PyQt6") - sys.exit(1) - os.curdir = os.path.abspath(os.path.dirname(__file__)) if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index 945e8028..d5a0b673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,10 +57,10 @@ Issues = "https://github.com/vkbo/novelWriter/issues" novelwriter = "novelwriter:main" [tool.setuptools.dynamic] -version = { attr = "novelwriter.__version__" } +version = { attr = "novelwriter.__init__.__version__" } -[tool.setuptools.packages.find] -include = ["novelwriter*"] +[tool.setuptools] +packages = ["novelwriter"] [tool.isort] py_version = "310"