Fix pip install

This commit is contained in:
coletdjnz
2025-09-26 18:10:04 +12:00
parent f7ec2da899
commit e5f5f79cdd
2 changed files with 11 additions and 6 deletions

View File

@@ -7,11 +7,17 @@ External JavaScript for yt-dlp supporting many runtimes
## Manual Installation
In the yt-dlp repository, install the python package, directly:
In the yt-dlp repository, install the python package, either directly or from url:
```console
npm install
pip install .
pip install git+https://github.com/yt-dlp/ejs@main
```
## Build scripts
```
deno install
deno task bundle
```
## Tests

View File

@@ -39,13 +39,12 @@ source = "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",
"dist/yt.solver.core.min.js",
"dist/yt.solver.lib.min.js",
]