aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/bundle.sh
diff options
context:
space:
mode:
authorgarret1317 <garret@airmail.cc>2025-09-26 14:11:52 +0100
committergarret1317 <garret@airmail.cc>2025-09-26 14:11:52 +0100
commit5e661893d582383cdfc811c7fae605c053ddc8ad (patch)
tree08b9b68cdd1c270156b344efca403640f6c022bc /contrib/bundle.sh
parent9b5db8364faf25cf3019e92ed4110b7958a4da9e (diff)
downloadyt-dlp-rajiko-5e661893d582383cdfc811c7fae605c053ddc8ad.tar.gz
yt-dlp-rajiko-5e661893d582383cdfc811c7fae605c053ddc8ad.tar.bz2
yt-dlp-rajiko-5e661893d582383cdfc811c7fae605c053ddc8ad.zip
add plugin bundle script
Diffstat (limited to 'contrib/bundle.sh')
-rwxr-xr-xcontrib/bundle.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/bundle.sh b/contrib/bundle.sh
new file mode 100755
index 0000000..e51d6bc
--- /dev/null
+++ b/contrib/bundle.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+version="$(uv tool run hatch version)"
+mkdir bundle/
+uv pip install --python-version 3.9 --python-platform linux --requirements pyproject.toml --target bundle/yt_dlp_plugins/
+rm -rf bundle/yt_dlp_plugins/*.dist-info bundle/yt_dlp_plugins/bin
+uv pip install --python-version 3.9 --python-platform linux --no-deps --target bundle/ .
+mkdir -p dist/
+(cd bundle/ && zip -9 --recurse-paths ../dist/yt_dlp_rajiko-${version}.bundle.zip yt_dlp_plugins)