diff --git a/README.md b/README.md index db39310..d803428 100644 --- a/README.md +++ b/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 diff --git a/pyproject.toml b/pyproject.toml index bd4da24..4a84615 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ]