mirror of
https://github.com/yt-dlp/ejs.git
synced 2026-06-13 08:42:29 +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
|
## 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
|
```console
|
||||||
npm install
|
pip install git+https://github.com/yt-dlp/ejs@main
|
||||||
pip install .
|
```
|
||||||
|
|
||||||
|
## Build scripts
|
||||||
|
|
||||||
|
```
|
||||||
|
deno install
|
||||||
|
deno task bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|||||||
@@ -39,13 +39,12 @@ source = "vcs"
|
|||||||
version-file = "yt_dlp_ejs/_version.py"
|
version-file = "yt_dlp_ejs/_version.py"
|
||||||
|
|
||||||
[[tool.hatch.build.hooks.build-scripts.scripts]]
|
[[tool.hatch.build.hooks.build-scripts.scripts]]
|
||||||
work_dir = "dist"
|
|
||||||
out_dir = "yt_dlp_ejs/"
|
out_dir = "yt_dlp_ejs/"
|
||||||
commands = [
|
commands = [
|
||||||
"deno install",
|
"deno install",
|
||||||
"deno task bundle",
|
"deno task bundle",
|
||||||
]
|
]
|
||||||
artifacts = [
|
artifacts = [
|
||||||
"yt.solver.core.min.js",
|
"dist/yt.solver.core.min.js",
|
||||||
"yt.solver.lib.min.js",
|
"dist/yt.solver.lib.min.js",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user