Added a forum link to the README for user reference. Removed the 'quickjs' package from the dependencies in pyproject.toml, likely because it is no longer required.
66 lines
1.8 KiB
TOML
66 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["maturin>=1.0,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[tool.maturin]
|
|
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
|
|
features = ["pyo3/extension-module"]
|
|
# Include additional files
|
|
include = [ "biliup/web/public/**/*" ]
|
|
#data = "biliup/web/public"
|
|
python-packages = ["biliup"]
|
|
manifest-path = "crates/stream-gears/Cargo.toml"
|
|
|
|
[project]
|
|
name = "biliup"
|
|
readme = "README.md"
|
|
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",
|
|
"psutil >= 5.4.6",
|
|
"aiofiles >= 22.1.0",
|
|
"yt-dlp >= 2025.3.31",
|
|
"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.2.0",
|
|
"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'",
|
|
"async-lru >= 2.0.5",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.optional-dependencies]
|
|
selenium = ["selenium >= 3.8.1"]
|
|
|
|
[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__" }
|