mirror of
https://github.com/moesnow/March7thAssistant.git
synced 2026-08-02 18:24:16 +08:00
chore: add uv source-checkout workflow (#1003)
This commit is contained in:
parent
2efc41f1f9
commit
38f1213317
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
||||
3.13
|
||||
21
README.md
21
README.md
@ -76,6 +76,27 @@ git pull
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
如果使用 `uv`,推荐直接使用项目自带的 `pyproject.toml` 工作流:
|
||||
|
||||
```cmd
|
||||
# Installation (using uv)
|
||||
git clone --recurse-submodules https://github.com/moesnow/March7thAssistant
|
||||
cd March7thAssistant
|
||||
uv sync
|
||||
|
||||
# 启动图形界面
|
||||
uv run python app.py
|
||||
|
||||
# 查看命令行帮助
|
||||
uv run python main.py -h
|
||||
|
||||
# 执行完整运行
|
||||
uv run python main.py
|
||||
|
||||
# 执行每日实训
|
||||
uv run python main.py daily
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>开发相关</summary>
|
||||
|
||||
|
||||
21
README_EN.md
21
README_EN.md
@ -135,6 +135,27 @@ git pull
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
If you are using `uv`, it is recommended to use the built-in `pyproject.toml` workflow directly:
|
||||
|
||||
```cmd
|
||||
# Installation (using uv)
|
||||
git clone --recurse-submodules https://github.com/moesnow/March7thAssistant
|
||||
cd March7thAssistant
|
||||
uv sync
|
||||
|
||||
# Launch the GUI
|
||||
uv run python app.py
|
||||
|
||||
# Show CLI help
|
||||
uv run python main.py -h
|
||||
|
||||
# Run all tasks
|
||||
uv run python main.py
|
||||
|
||||
# Run daily training
|
||||
uv run python main.py daily
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Development Details</summary>
|
||||
|
||||
|
||||
21
README_JA.md
21
README_JA.md
@ -132,6 +132,27 @@ git pull
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
`uv` を使う場合は、プロジェクト内の `pyproject.toml` ワークフローをそのまま使うことを推奨します:
|
||||
|
||||
```cmd
|
||||
# インストール (uv を使用)
|
||||
git clone --recurse-submodules https://github.com/moesnow/March7thAssistant
|
||||
cd March7thAssistant
|
||||
uv sync
|
||||
|
||||
# GUI を起動
|
||||
uv run python app.py
|
||||
|
||||
# CLI ヘルプを表示
|
||||
uv run python main.py -h
|
||||
|
||||
# 全タスクを実行
|
||||
uv run python main.py
|
||||
|
||||
# デイリー実訓を実行
|
||||
uv run python main.py daily
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>開発関連</summary>
|
||||
|
||||
|
||||
21
README_KR.md
21
README_KR.md
@ -134,6 +134,27 @@ git pull
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
`uv`를 사용하는 경우에는 프로젝트에 포함된 `pyproject.toml` 워크플로를 그대로 사용하는 것을 권장합니다:
|
||||
|
||||
```cmd
|
||||
# 설치 (uv 사용)
|
||||
git clone --recurse-submodules https://github.com/moesnow/March7thAssistant
|
||||
cd March7thAssistant
|
||||
uv sync
|
||||
|
||||
# GUI 실행
|
||||
uv run python app.py
|
||||
|
||||
# CLI 도움말 보기
|
||||
uv run python main.py -h
|
||||
|
||||
# 전체 작업 실행
|
||||
uv run python main.py
|
||||
|
||||
# 일일 훈련 실행
|
||||
uv run python main.py daily
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>개발 관련</summary>
|
||||
|
||||
|
||||
21
README_TW.md
21
README_TW.md
@ -131,6 +131,27 @@ git pull
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
如果使用 `uv`,建議直接使用專案內建的 `pyproject.toml` 工作流:
|
||||
|
||||
```cmd
|
||||
# Installation (using uv)
|
||||
git clone --recurse-submodules https://github.com/moesnow/March7thAssistant
|
||||
cd March7thAssistant
|
||||
uv sync
|
||||
|
||||
# 啟動圖形界面
|
||||
uv run python app.py
|
||||
|
||||
# 查看命令列說明
|
||||
uv run python main.py -h
|
||||
|
||||
# 執行完整運行
|
||||
uv run python main.py
|
||||
|
||||
# 執行每日實訓
|
||||
uv run python main.py daily
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>開發相關</summary>
|
||||
|
||||
|
||||
53
pyproject.toml
Normal file
53
pyproject.toml
Normal file
@ -0,0 +1,53 @@
|
||||
[project]
|
||||
name = "march7thassistant"
|
||||
version = "0.1.0"
|
||||
description = "March7thAssistant automation app"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"ruamel.yaml==0.19.1",
|
||||
"pyyaml==6.0.3",
|
||||
"colorama==0.4.6",
|
||||
"packaging==25.0",
|
||||
"pyuac==0.0.3; sys_platform == 'win32'",
|
||||
"playsound3==3.3.0",
|
||||
"tqdm==4.67.1",
|
||||
"psutil==7.2.1",
|
||||
"pyautogui==0.9.54",
|
||||
"mss==10.1.0",
|
||||
"pygetwindow==0.0.9",
|
||||
"requests[socks]==2.33.0",
|
||||
"charset_normalizer==3.4.4",
|
||||
"imageio==2.37.2",
|
||||
"Pillow==12.2.0",
|
||||
"numpy==2.2.6",
|
||||
"opencv-python==4.12.0.88",
|
||||
"onepush==1.4.0",
|
||||
"winotify==1.1.0; sys_platform == 'win32'",
|
||||
"Markdown==3.10",
|
||||
"PySide6-Fluent-Widgets==1.11.1",
|
||||
"PySideSix-Frameless-Window==0.8.0",
|
||||
"PySide6==6.10.2",
|
||||
"pylnk3==0.4.3",
|
||||
"pyperclip==1.11.0",
|
||||
"qrcode==8.2",
|
||||
"PySocks==1.7.1",
|
||||
"PyPAC==0.17.2",
|
||||
"requests-toolbelt==1.0.0",
|
||||
"matrix-nio==0.25.2",
|
||||
"python-socks[asyncio]==2.8.0",
|
||||
"asyncio==4.0.0",
|
||||
"nio==3.4.2",
|
||||
"pandas==2.3.3",
|
||||
"openpyxl==3.1.5",
|
||||
"selenium==4.39.0",
|
||||
"keyboard==0.13.5",
|
||||
"opencc==1.2.0",
|
||||
"rapidocr==3.8.1",
|
||||
"onnxruntime-directml==1.24.4; sys_platform == 'win32'",
|
||||
"onnxruntime==1.24.4; sys_platform == 'darwin' or sys_platform == 'linux'",
|
||||
"openvino==2026.1.0",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
Loading…
x
Reference in New Issue
Block a user