-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (51 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
57 lines (51 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[project]
name = "anime1-desktop"
version = "0.1.0"
description = "Anime1 桌面应用 - 番剧浏览器"
requires-python = ">=3.11"
dependencies = [
"flask>=2.3.0",
"flask-cors>=4.0.0",
"beautifulsoup4>=4.12.0",
"requests>=2.31.0",
"pywebview==5.0",
"pyinstaller>=6.0.0",
"pillow>=10.0.0",
"hanziconv>=0.3.2",
"peewee>=3.17.0",
"m3u8>=3.0.0",
# Sub-dependencies for PyInstaller bundling
"jinja2>=3.1.0",
"markupsafe>=2.1.0",
"werkzeug>=3.0.0",
"urllib3>=2.0.0",
"certifi>=2023.0.0",
"soupsieve>=2.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
]
# macOS 专有依赖
macos = [
"pyobjc-framework-WebKit>=9.0",
]
[project.scripts]
anime1 = "src.app:main"
[tool.setuptools]
packages = {find = {}}
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
markers = [
"unit: Unit tests - fast tests that don't require external services",
"integration: Integration tests - tests that require database or external services",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-mock>=3.15.1",
]