diff --git a/MANIFEST.in b/MANIFEST.in index f07c4d835..adb0712e9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ -graft src/calibreweb +graft cps global-exclude __pycache__ global-exclude *.pyc diff --git a/pyproject.toml b/pyproject.toml index 67a7acca7..affab0593 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] keywords = [ @@ -118,12 +119,14 @@ kobo = [ ] [project.scripts] -cps = "calibreweb:main" +cps = "cps.main:main" [tool.setuptools] include-package-data = true license-files = ["LICENSE"] -[tool.setuptools.dynamic] -version = {attr = "calibreweb.cps.constants.STABLE_VERSION"} +[tool.setuptools.packages.find] +include = ["cps*"] +[tool.setuptools.dynamic] +version = {attr = "cps.constants.STABLE_VERSION"}