mirror of
https://github.com/open-webui/computer.git
synced 2026-11-17 03:11:42 +03:00
v0.1.8: fix PyPI wheel missing frontend build
This commit is contained in:
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.1.8] - 2026-06-07
|
||||
|
||||
### Fixed
|
||||
|
||||
- 📦 **PyPI install actually works now.** Hatchling's `exclude = ["cptr/frontend"]` was taking precedence over the `artifacts` directive, causing every published wheel to ship without the frontend build. The app returned `{"detail":"Not Found"}` on all non-API routes. Changed to granular excludes that skip only source/dev files while preserving `cptr/frontend/build`.
|
||||
|
||||
## [0.1.7] - 2026-06-07
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"private": true,
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
+16
-2
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "cptr"
|
||||
version = "0.1.7"
|
||||
version = "0.1.8"
|
||||
description = "Your computer, from anywhere. Code, manage, and control your machine from the web."
|
||||
license = {file = "LICENSE"}
|
||||
readme = "README.md"
|
||||
@@ -38,7 +38,21 @@ build-backend = "hatchling.build"
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["cptr"]
|
||||
artifacts = ["cptr/frontend/build"]
|
||||
exclude = ["cptr/frontend"]
|
||||
exclude = [
|
||||
"cptr/frontend/src",
|
||||
"cptr/frontend/node_modules",
|
||||
"cptr/frontend/.svelte-kit",
|
||||
"cptr/frontend/static",
|
||||
"cptr/frontend/package*.json",
|
||||
"cptr/frontend/vite.config.*",
|
||||
"cptr/frontend/svelte.config.*",
|
||||
"cptr/frontend/tsconfig.json",
|
||||
"cptr/frontend/.gitignore",
|
||||
"cptr/frontend/.npmrc",
|
||||
"cptr/frontend/.prettierrc",
|
||||
"cptr/frontend/.prettierignore",
|
||||
"cptr/frontend/README.md",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"CHANGELOG.md" = "cptr/CHANGELOG.md"
|
||||
|
||||
Reference in New Issue
Block a user