From 1c97a065a7e479cd4559cfdd70a3e2921e87e303 Mon Sep 17 00:00:00 2001 From: zhenghu <1831829219@qq.com> Date: Mon, 13 Apr 2026 17:51:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86=E9=A1=B9=E7=9B=AE=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=BB=9F=E4=B8=80=E4=B8=BA=20yield-smart-app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 pyproject.toml 中的包名 - 同步 uv.lock 中的包名 - 更新 README.md 中的项目目录和 Docker 镜像名称 - 更新 justfile 和 main.py 中的引用名称 --- README.md | 8 ++++---- justfile | 2 +- main.py | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1ba4394..58b2de2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# YieldSmart 农业智能决策系统 +# yield-smart-app 农业智能决策系统 基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用。 @@ -47,7 +47,7 @@ streamlit run app.py ## 项目结构 ``` -YieldSmart/ +yield-smart-app/ ├── app.py # 主应用文件(Streamlit) ├── main.py # 入口文件 ├── pyproject.toml # 项目配置 @@ -78,10 +78,10 @@ just check ```bash # 构建镜像 -docker build -t yieldsmart . +docker build -t yield-smart-app . # 运行容器 -docker run -p 8000:8000 yieldsmart +docker run -p 8000:8000 yield-smart-app ``` ## 许可证 diff --git a/justfile b/justfile index 410315f..6405c5c 100644 --- a/justfile +++ b/justfile @@ -1,4 +1,4 @@ -# Justfile for YieldSmart 农业智能决策系统 +# Justfile for yield-smart-app 农业智能决策系统 # Use `just ` to run tasks # Default task: show available commands diff --git a/main.py b/main.py index 4e73d28..2921a94 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,5 @@ def main(): - print("Hello from YieldSmart!") + print("Hello from yield-smart-app!") if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index c25b875..a99fb02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "yield-smart" +name = "yield-smart-app" version = "0.1.0" description = "农业智能决策系统 - 基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用" readme = "README.md" diff --git a/uv.lock b/uv.lock index d6b740e..53f75cc 100644 --- a/uv.lock +++ b/uv.lock @@ -632,7 +632,7 @@ wheels = [ ] [[package]] -name = "yield-smart" +name = "yield-smart-app" version = "0.1.0" source = { virtual = "." } dependencies = [