devine/pyproject.toml

100 lines
2.6 KiB
TOML
Raw Permalink Normal View History

2023-02-06 02:33:09 +00:00
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2023-02-06 02:33:09 +00:00
[tool.poetry]
name = "devine"
2024-04-05 11:30:43 +00:00
version = "3.3.1"
description = "Modular Movie, TV, and Music Archival Software."
license = "GPL-3.0-only"
authors = ["rlaphoenix <rlaphoenix@pm.me>"]
readme = "README.md"
homepage = "https://github.com/devine-dl/devine"
repository = "https://github.com/devine-dl/devine"
keywords = ["python", "downloader", "drm", "widevine"]
2023-02-06 02:33:09 +00:00
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Video",
"Topic :: Security :: Cryptography",
2023-02-06 02:33:09 +00:00
]
include = [
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "README.md", format = "sdist" },
{ path = "LICENSE", format = "sdist" },
]
[tool.poetry.urls]
"Issues" = "https://github.com/devine-dl/devine/issues"
"Discussions" = "https://github.com/devine-dl/devine/discussions"
"Changelog" = "https://github.com/devine-dl/devine/blob/master/CHANGELOG.md"
2023-02-06 02:33:09 +00:00
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
2023-02-06 02:33:09 +00:00
appdirs = "^1.4.4"
Brotli = "^1.1.0"
click = "^8.1.7"
2023-02-06 02:33:09 +00:00
construct = "^2.8.8"
crccheck = "^1.3.0"
2024-02-29 23:57:57 +00:00
jsonpickle = "^3.0.3"
2023-02-06 02:33:09 +00:00
langcodes = { extras = ["data"], version = "^3.3.0" }
2024-04-02 20:52:22 +00:00
lxml = "^5.2.1"
2024-02-29 23:57:57 +00:00
pproxy = "^2.7.9"
protobuf = "^4.25.3"
pycaption = "^2.2.4"
pycryptodomex = "^3.20.0"
pyjwt = "^2.8.0"
pymediainfo = "^6.1.0"
pymp4 = "^1.4.0"
2023-07-07 17:20:49 +00:00
pymysql = "^1.1.0"
2024-02-29 23:57:57 +00:00
pywidevine = { extras = ["serve"], version = "^1.8.0" }
PyYAML = "^6.0.1"
2023-05-27 19:15:51 +00:00
requests = { extras = ["socks"], version = "^2.31.0" }
2024-02-29 23:57:57 +00:00
rich = "^13.7.1"
"rlaphoenix.m3u8" = "^3.4.0"
2024-02-29 23:57:57 +00:00
"ruamel.yaml" = "^0.18.6"
2023-02-06 02:33:09 +00:00
sortedcontainers = "^2.4.0"
2024-03-25 03:52:38 +00:00
subtitle-filter = "^1.4.9"
2024-02-29 23:57:57 +00:00
Unidecode = "^1.3.8"
urllib3 = "^2.2.1"
chardet = "^5.2.0"
2024-03-25 03:52:38 +00:00
curl-cffi = "^0.6.2"
# Temporary explicit versions of these langcodes dependencies as language-data v1.1
# uses marisa-trie v0.7.8 which doesn't have Python 3.12 wheels.
language-data = "^1.2.0.dev3"
marisa-trie = "^1.1.0"
2023-02-06 02:33:09 +00:00
[tool.poetry.dev-dependencies]
2024-03-25 03:52:38 +00:00
pre-commit = "^3.7.0"
mypy = "^1.9.0"
2024-04-02 20:52:22 +00:00
mypy-protobuf = "^3.6.0"
2024-03-25 03:52:38 +00:00
types-protobuf = "^4.24.0.20240311"
types-PyMySQL = "^1.1.0.1"
2024-04-05 11:30:09 +00:00
types-requests = "^2.31.0.20240403"
2024-02-29 23:57:57 +00:00
isort = "^5.13.2"
2024-04-02 20:52:22 +00:00
ruff = "~0.3.5"
2023-02-06 02:33:09 +00:00
[tool.poetry.scripts]
devine = "devine.core.__main__:main"
[tool.ruff]
force-exclude = true
line-length = 120
2024-02-29 23:57:57 +00:00
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "W"]
2023-02-06 02:33:09 +00:00
[tool.isort]
line_length = 118
2023-02-06 02:33:09 +00:00
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
follow_imports = "silent"
2023-02-06 02:33:09 +00:00
ignore_missing_imports = true
no_implicit_optional = true