# Factory Sliceing 项目 ## 安装依赖 在运行项目之前,需要先安装依赖: ```bash # 使用 pip 安装 pip install -r requirements.txt # 或者使用 pip3 pip3 install -r requirements.txt # 或者使用 python -m pip python -m pip install -r requirements.txt ``` ### 主要依赖 - `toml` - 配置文件解析(必需) - `redis` - Redis 客户端 - `oss2` - 阿里云 OSS 客户端 - `requests` - HTTP 请求库 - `uiautomation` - UI 自动化(Windows) - `pywin32` - Windows API(仅 Windows 系统需要) - `minio` - MinIO 客户端(如果使用) ## 快速开始 1. **安装依赖** ```bash pip install -r requirements.txt ``` 2. **配置配置文件** - 复制 `config.example.toml` 为 `config.toml` - 根据实际情况修改配置 3. **运行程序** ```bash python main.py [work_dir] ``` ## 打包为 exe 详见 [README_BUILD.md](README_BUILD.md)