mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-02 10:20:23 +00:00
Split code as a package, compiled into an executable zip
This commit is contained in:
5
Makefile
5
Makefile
@@ -18,6 +18,9 @@ update-readme:
|
||||
echo "$${footer}" >> README.md
|
||||
|
||||
compile:
|
||||
cp youtube_dl/__init__.py youtube-dl
|
||||
zip --junk-paths youtube-dl youtube_dl/*.py
|
||||
echo '#!/usr/bin/env python' > youtube-dl
|
||||
cat youtube-dl.zip >> youtube-dl
|
||||
rm youtube-dl.zip
|
||||
|
||||
.PHONY: default compile update update-latest update-readme
|
||||
|
Reference in New Issue
Block a user