-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (94 loc) · 2.35 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "plexmuxy"
dynamic = ["version"]
description = "Prepare Plex-compatible Matroska media with correctly identified tracks, subtitles, fonts, and metadata."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Video",
]
dependencies = [
"patool>=2.2",
"py7zr>=0.21",
"pymkv2>=2.3.2",
"rich>=13.7",
"fonttools>=4.53",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.5",
"mypy>=1.10",
"build>=1.2",
]
gui = [
"pywebview>=6.0",
]
build = [
"pyinstaller>=6",
]
[project.scripts]
plexmuxy = "plexmuxy.cli:main"
plexmuxy-gui = "plexmuxy_gui.app:main"
[tool.setuptools]
py-modules = ["main", "config", "subtitle_utils"]
[tool.setuptools.dynamic]
version = {attr = "plexmuxy.__version__"}
[tool.setuptools.packages.find]
include = ["plexmuxy", "plexmuxy.*", "plexmuxy_gui", "plexmuxy_gui.*"]
[tool.setuptools.package-data]
plexmuxy = ["VERSION", "locales/*.json"]
plexmuxy_gui = [
"static/*.html",
"static/*.css",
"static/*.js",
"static/js/*.js",
"static/assets/*.svg",
"static/assets/*.png",
"static/assets/*.ico",
"static/locales/*.json",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: requires real ffmpeg and MKVToolNix binaries",
]
[tool.coverage.run]
branch = true
source = ["plexmuxy", "plexmuxy_gui"]
omit = [
"plexmuxy/__main__.py",
"plexmuxy/cli.py",
"plexmuxy/diagnostics.py",
"plexmuxy/logging_utils.py",
"plexmuxy/report.py",
"plexmuxy_gui/app.py",
]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
warn_unused_ignores = true
ignore_missing_imports = true