-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (58 loc) · 2.3 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
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ["setuptools>=70", "wheel>=0.46.2"]
build-backend = "setuptools.build_meta"
[project]
name = "samotech-iptv-player"
version = "0.1.7"
description = "SamoTech IPTV Player with pluggable provider architecture"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12"
dependencies = [
"aiohttp>=3.9",
"defusedxml>=0.7",
"keyring>=25",
"python-vlc>=3.0.21203",
"PySide6>=6.7",
"qasync>=0.27",
]
[project.scripts]
samotech-iptv = "samotech_iptv.desktop_entrypoint:main"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"pytest-cov>=5",
"aioresponses>=0.7",
"black>=24",
"mypy>=1.10",
"ruff>=0.6",
"types-defusedxml>=0.7",
"pyinstaller==6.22.1",
"build>=1.2",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
# ── Package discovery ─────────────────────────────────────────────────────────
# The canonical package lives under src/. The legacy providers package is
# retained during the migration and must ship with the MAG adapter.
[tool.setuptools.packages.find]
where = ["src", "."]
include = ["samotech_iptv*", "providers*", "resources*"]
[tool.setuptools.package-data]
resources = ["themes/*.qss", "icons/*", "translations/*"]
# ── Ruff ──────────────────────────────────────────────────────────────────────
[tool.ruff]
src = ["src", "tests"]
# ── Black ────────────────────────────────────────────────────────────────────
[tool.black]
line-length = 100
target-version = ["py312"]
# ── MyPy ─────────────────────────────────────────────────────────────────────
[tool.mypy]
mypy_path = "src"
packages = ["samotech_iptv"]
[[tool.mypy.overrides]]
module = ["keyring", "keyring.*", "PySide6", "PySide6.*", "qasync"]
ignore_missing_imports = true