* Update dependencies and Python version requirements - Upgrade pip, setuptools, and wheel build system requirements - Bump Python version requirement to >= 3.9 - Update various package dependencies to latest versions - Add version constraints for aiohttp to address potential compatibility issue - Modify truststore import to handle potential import errors * Update __init__.py --------- Co-authored-by: ForgQi <34411314+ForgQi@users.noreply.github.com>
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ['pip>=24.2', 'setuptools>=74', 'wheel']
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "biliup"
|
|
authors = [{ name = "ForgQi" }]
|
|
description = "stream download and upload"
|
|
keywords = ["bilibili douyu huya"]
|
|
urls = { Homepage = "https://github.com/ForgQi/bilibiliupload" }
|
|
requires-python = ">= 3.9"
|
|
dependencies = [
|
|
"tomli-w>=1.0.0",
|
|
"stream-gears >= 0.2.2,<0.3",
|
|
"psutil >= 5.4.6",
|
|
"aiofiles >= 22.1.0",
|
|
"yt-dlp >= 2025.2.19",
|
|
"Pillow >= 5.2.0",
|
|
"aiohttp[speedups] < 3.10.0", # aio-libs/aiohttp#10519
|
|
"aiohttp_cors >= 0.7.0",
|
|
"requests >= 2.32.3",
|
|
"httpx[http2] >= 0.28.1",
|
|
"httpcore >= 1.0.7",
|
|
"PyYAML >= 4.2b1",
|
|
"streamlink >= 7.1.3",
|
|
"ykdl >= 1.8.0",
|
|
"rsa >= 4.6",
|
|
"tomli >= 1.1.0; python_version < '3.11'",
|
|
"protobuf >= 4.23.0",
|
|
"SQLAlchemy >= 2.0.0",
|
|
"alembic >= 1.12.1",
|
|
"m3u8 >= 6.0.0",
|
|
"truststore >= 0.10.1; python_version >= '3.10'",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.optional-dependencies]
|
|
selenium = ["selenium >= 3.8.1"]
|
|
|
|
[project.readme]
|
|
file = "README.md"
|
|
content-type = "text/markdown"
|
|
|
|
[project.scripts]
|
|
biliup = "biliup.__main__:arg_parser"
|
|
|
|
[tool.setuptools]
|
|
license-files = ["LICENSE"]
|
|
include-package-data = false
|
|
|
|
[tool.setuptools.package-data]
|
|
biliup = ["common/*.ini", "web/public/**", "web/public/build/*", "database/migration/*", "Danmaku/douyin_util/webmssdk.js"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["biliup*"]
|
|
namespaces = false
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = { attr = "biliup.__version__" }
|