mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-05-06 20:02:51 +08:00
- 修改app.py以支持PyInstaller打包后的资源路径 - 更新session.py以支持APP_DATA_DIR环境变量 - 增强webui.py以设置打包后的数据目录 - 添加pyproject.toml的PyInstaller依赖组 - 新增构建脚本和GitHub Actions工作流
38 lines
699 B
TOML
38 lines
699 B
TOML
[project]
|
|
name = "codex-register-v2"
|
|
version = "0.1.0"
|
|
description = "OpenAI/Codex CLI 自动注册系统"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"curl-cffi>=0.14.0",
|
|
"fastapi>=0.100.0",
|
|
"uvicorn>=0.23.0",
|
|
"jinja2>=3.1.0",
|
|
"python-multipart>=0.0.6",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"sqlalchemy>=2.0.0",
|
|
"aiosqlite>=0.19.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"httpx>=0.24.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
codex-webui = "webui:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pyinstaller>=6.19.0",
|
|
]
|