-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (40 loc) · 1.12 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
41
42
43
44
45
46
47
[tool.poetry]
name = "qbittorrent-add-trackers"
version = "0.1.1"
description = ""
authors = ["CXwudi <[email protected]>"]
readme = "README.md"
packages = [
{ include = "qbittorrent_add_trackers" },
{ include = "build_scripts" },
]
[tool.poetry.dependencies]
python = "^3.12"
requests = "^2.32.3"
qbittorrent-api = "^2024.11.70"
logging = "^0.4.9.6"
websocket-client = "^1.8.0"
injector = "^0.22.0"
python-configuration = {version = "^0.12.1", extras = ["yaml", "toml"]}
# caching
cachetools = "^5.4.0"
# RestAPI
flask = "^3.1.0"
flask-injector = "^0.15.0"
waitress = "^3.0.2"
pyinstaller = {version = "^6.11.1", python = ">=3.12,<3.14"}
tomli = "^2.1.0"
pyyaml = "^6.0.2"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-mock = "^3.14.0"
[tool.poetry.scripts]
main = "qbittorrent_add_trackers.main:main"
docker-build = "build_scripts.build_docker:main"
[tool.poe.tasks]
[tool.poe.tasks.package]
help = "Package the application"
cmd = "pyinstaller --onefile --name qbittorrent-add-trackers qbittorrent_add_trackers/main.py"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"