Files
ejs/pyproject.toml
2025-09-22 18:30:05 +02:00

52 lines
1.4 KiB
TOML

[build-system]
requires = ["hatchling", "hatch-build-scripts", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "yt-dlp-ejs"
description = "External JavaScript for yt-dlp supporting many runtimes"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.9"
license = "Unlicense"
keywords = []
authors = [
{ name = "Simon Sawicki", email = "contact@grub4k.dev" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = []
[project.urls]
Documentation = "https://github.com/yt-dlp/ejs#readme"
Issues = "https://github.com/yt-dlp/ejs/issues"
Source = "https://github.com/yt-dlp/ejs"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "yt_dlp_ejs/_version.py"
[[tool.hatch.build.hooks.build-scripts.scripts]]
work_dir = "dist"
out_dir = "yt_dlp_ejs/"
commands = [
"deno install",
"deno task bundle",
]
artifacts = [
"yt.solver.core.min.js",
"yt.solver.lib.min.js",
]