mirror of
https://github.com/yt-dlp/ejs.git
synced 2026-06-13 00:32:11 +00:00
Fix pip install
This commit is contained in:
12
README.md
12
README.md
@@ -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
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user