mirror of https://github.com/yutto-dev/yutto
68 lines
1.8 KiB
TOML
68 lines
1.8 KiB
TOML
[tool.poetry]
|
|
name = "yutto"
|
|
version = "2.0.0-beta.18"
|
|
description = "🧊 一个可爱且任性的 B 站视频下载器"
|
|
authors = ["Nyakku Shigure <sigure.qaq@gmail.com>"]
|
|
license = "GPL-3.0"
|
|
readme = "README.md"
|
|
homepage = "https://github.com/yutto-dev/yutto"
|
|
repository = "https://github.com/yutto-dev/yutto"
|
|
keywords = ["python", "bilibili", "video", "downloader", "danmaku"]
|
|
classifiers = [
|
|
"Environment :: Console",
|
|
"Operating System :: OS Independent",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Typing :: Typed",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9.0"
|
|
aiohttp = "^3.8.3"
|
|
aiofiles = "^22.1.0"
|
|
biliass = "1.3.7"
|
|
uvloop = { version = "0.17.0", optional = true }
|
|
dicttoxml = "^1.7.15"
|
|
colorama = { version = "^0.4.6", markers = "sys_platform == 'win32'" }
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^7.2"
|
|
black = "^22.12"
|
|
isort = "^5.11.3"
|
|
pyright = "^1.1.284"
|
|
pytest-rerunfailures = "^10.3"
|
|
|
|
[tool.poetry.extras]
|
|
uvloop = ["uvloop"]
|
|
|
|
[tool.poetry.scripts]
|
|
yutto = "yutto.__main__:main"
|
|
|
|
[tool.poetry.urls]
|
|
"Bug Tracker" = "https://github.com/yutto-dev/yutto/issues"
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = ["api", "e2e", "processor", "ignore", "ci_skip", "ci_only"]
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
add_imports = ["from __future__ import annotations"]
|
|
skip = ["setup.py", ".venv"]
|
|
|
|
[tool.pyright]
|
|
include = ["yutto", "tests"]
|
|
pythonVersion = "3.9"
|
|
typeCheckingMode = "strict"
|
|
|
|
[build-system]
|
|
requires = ["poetry_core>=1.1.0"]
|
|
build-backend = "poetry.core.masonry.api"
|