33 lines
737 B
TOML
33 lines
737 B
TOML
|
|
[project]
|
|||
|
|
name = "code-explanation-fixer"
|
|||
|
|
version = "0.1.0"
|
|||
|
|
description = "代码解释与修复助手"
|
|||
|
|
authors = []
|
|||
|
|
readme = "README.md"
|
|||
|
|
requires-python = ">=3.8,<4.0"
|
|||
|
|
dependencies = [
|
|||
|
|
"openai>=1.0.0",
|
|||
|
|
"python-dotenv>=1.0.0",
|
|||
|
|
"pydantic>=2.0.0",
|
|||
|
|
"fastapi>=0.100.0",
|
|||
|
|
"uvicorn>=0.23.0",
|
|||
|
|
"rich>=13.0.0",
|
|||
|
|
"customtkinter>=5.2.0",
|
|||
|
|
"streamlit>=1.20.0", # 添加Streamlit依赖
|
|||
|
|
"httpx>=0.28.0", # 添加HTTP客户端依赖
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
[tool.setuptools.packages.find]
|
|||
|
|
where = ["."]
|
|||
|
|
exclude = ["static"] # 排除static目录,它不是Python包
|
|||
|
|
|
|||
|
|
[tool.uv]
|
|||
|
|
required-version = "0.9.22"
|
|||
|
|
|
|||
|
|
[build-system]
|
|||
|
|
requires = ["setuptools>=61.0"]
|
|||
|
|
build-backend = "setuptools.build_meta"
|
|||
|
|
|
|||
|
|
[tool.pytest.ini_options]
|
|||
|
|
pythonpath = "."
|