chore: 将项目名称统一为 yield-smart-app

- 更新 pyproject.toml 中的包名
  - 同步 uv.lock 中的包名
  - 更新 README.md 中的项目目录和 Docker 镜像名称
  - 更新 justfile 和 main.py 中的引用名称
This commit is contained in:
zhenghu
2026-04-13 17:51:36 +08:00
parent 3e34770e64
commit 1c97a065a7
5 changed files with 8 additions and 8 deletions

View File

@@ -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
```
## 许可证

View File

@@ -1,4 +1,4 @@
# Justfile for YieldSmart 农业智能决策系统
# Justfile for yield-smart-app 农业智能决策系统
# Use `just <command>` to run tasks
# Default task: show available commands

View File

@@ -1,5 +1,5 @@
def main():
print("Hello from YieldSmart!")
print("Hello from yield-smart-app!")
if __name__ == "__main__":

View File

@@ -1,5 +1,5 @@
[project]
name = "yield-smart"
name = "yield-smart-app"
version = "0.1.0"
description = "农业智能决策系统 - 基于多因子 Cobb-Douglas 产量模型的作物种植决策支持应用"
readme = "README.md"

2
uv.lock generated
View File

@@ -632,7 +632,7 @@ wheels = [
]
[[package]]
name = "yield-smart"
name = "yield-smart-app"
version = "0.1.0"
source = { virtual = "." }
dependencies = [