From 54daa4128d49da645700131afc8bdc277b13b08e Mon Sep 17 00:00:00 2001 From: Wang Zhiyu Date: Sat, 16 May 2026 23:13:14 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=B0=86=E6=9E=84=E5=BB=BA=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=8D=A2=E4=B8=BA=20hatchling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由于 uv_build 在 android termux 端需编译大量 rust 代码, 极大减慢安装速度, 故使用 hatchling 作为纯 python 构建系统, 这并不影响使用 uv 管理项目 --- README.md | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cbdd55b..eb5360c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ 从 `master` 分支安装, 并安装适用于用户体验的可选依赖(推荐): ``` -pip install --upgrade 'heurams[all] @ git+https://git.pluv27.top/pluv/heurams.git@master' +pip install --upgrade 'heurams[basic] @ git+https://git.pluv27.top/pluv/heurams.git@master' ``` 安装适用于一般计算机的通用音频模块(基于 playsound3):\ diff --git a/pyproject.toml b/pyproject.toml index 4193394..1b19eaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,5 +73,5 @@ markers = [ ] [build-system] -requires = ["uv_build>=0.7.19"] -build-backend = "uv_build" +requires = ["hatchling"] +build-backend = "hatchling.build"