From e45e2dbf160445891ec765ffb3e0e14f106cfb56 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sun, 16 Aug 2026 19:38:42 +0900 Subject: release: prepare version 0.5.0 Document the project as a lightweight personal Ollama Web UI that runs directly on the host OS without Docker or a virtual machine, and align the English and Japanese highlights. Add a Keep a Changelog-style history and record the clipboard fallback, final tool-round disabling, packaging metadata compatibility, and runtime asset inclusion fixes delivered in v0.5.0. Synchronize the package and runtime version at 0.5.0, remove duplicate setuptools license metadata, and explicitly include templates, static assets, translations, prompts, and bundled fonts in built distributions. Validated with 115 tests, Ruff, mypy, uv lock checking, sdist/wheel builds, and wheel-installed application initialization. --- pyproject.toml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 363e4ef..43fb316 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,13 @@ build-backend = "setuptools.build_meta" [project] name = "ollama-web" -version = "0.4.5" +version = "0.5.0" description = "Ollama web project" readme = "README.md" license = "MIT" license-files = ["LICENSE", "THIRD_PARTY_LICENSES.txt"] requires-python = ">=3.10" classifiers = [ - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -45,6 +44,21 @@ ollama-web = "ollama_web.main:main" [tool.setuptools.packages.find] where = ["src"] +[tool.setuptools.package-data] +ollama_web = [ + "i18n/messages/*.json", + "prompts/*.json", + "static/*.css", + "static/*.js", + "static/vendor/*.css", + "static/vendor/*.js", + "static/vendor/*.map", + "static/vendor/fonts/*.ttf", + "static/vendor/fonts/*.woff", + "static/vendor/fonts/*.woff2", + "templates/*.html", +] + [tool.ruff] line-length = 100 target-version = "py310" @@ -61,4 +75,4 @@ filterwarnings = [ [tool.mypy] python_version = "3.10" -strict = true \ No newline at end of file +strict = true -- cgit v1.2.3