Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
[project]
|
||||
name = "epub-translator"
|
||||
version = "0.07"
|
||||
description = "EPUB双语翻译程序"
|
||||
authors = [
|
||||
{name = "Kaitan", email = "your-email@example.com"}
|
||||
]
|
||||
dependencies = [
|
||||
"ebooklib>=0.19",
|
||||
"beautifulsoup4>=4.12.0",
|
||||
"lxml>=4.9.0",
|
||||
"openai>=1.0.0",
|
||||
"aiohttp>=3.9.0",
|
||||
"pydantic>=2.0.0",
|
||||
"loguru>=0.7.0",
|
||||
"rich>=13.0.0",
|
||||
"asyncio-throttle>=1.0.2",
|
||||
"tenacity>=8.0.0",
|
||||
"python-dotenv>=1.0.0",
|
||||
]
|
||||
requires-python = ">=3.9"
|
||||
|
||||
[project.scripts]
|
||||
epub-translator = "main:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
"pytest>=7.0.0",
|
||||
"pytest-asyncio>=0.21.0",
|
||||
]
|
||||
Reference in New Issue
Block a user