-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
40 lines (34 loc) · 1.03 KB
/
pyproject.toml
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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.poetry]
authors = ["liblaf <i@liblaf.me>"]
description = "Download everything from Web Learning of Tsinghua University"
license = "MIT"
name = "thu-learn-downloader"
readme = "README.md"
repository = "https://github.com/liblaf/thu-learn-downloader"
version = "0.3.1"
[tool.poetry.dependencies]
beautifulsoup4 = "^4.12.2"
pydantic = "^2.4.2"
python = "^3.10"
python-dateutil = "^2.8.2"
requests = "^2.31.0"
rich = "^13.6.0"
tenacity = "^8.5.0"
typer = "^0.12.0"
[tool.poetry.group.dev.dependencies]
nuitka = ">=1.8.5,<3.0.0"
pyinstaller = { python = ">=3.10,<3.13", version = "^6.1.0" }
ruff = ">=0.6.0,<0.7.0"
typer-cli = { git = "https://github.com/Patarimi/typer-cli.git" }
[tool.poetry.scripts]
thu-learn-downloader = "thu_learn_downloader.main:app"
tld = "thu_learn_downloader.main:app"
[[tool.poetry.source]]
name = "mirrors"
priority = "default"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
[tool.ruff.lint]
select = ["B", "E", "F", "I", "SIM", "UP"]