mirror of
https://github.com/yt-dlp/ejs.git
synced 2026-06-13 08:42:29 +00:00
50 lines
1.4 KiB
TOML
50 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]]
|
|
commands = [
|
|
"deno install",
|
|
"deno task bundle",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
"dist/yt.solver.core.min.js" = "yt_dlp_ejs/yt/solver/core.min.js"
|
|
"dist/yt.solver.lib.min.js" = "yt_dlp_ejs/yt/solver/lib.min.js"
|