Compare commits

..

No commits in common. "45522873740036f6411468a9a2d04c355f7c8bcc" and "8c0a014908d34326d68973a7286c5a4d3058ff63" have entirely different histories.

5 changed files with 4 additions and 4 deletions

View File

@ -336,7 +336,7 @@ jobs:
run: | # Custom pyinstaller built with https://github.com/yt-dlp/pyinstaller-builds run: | # Custom pyinstaller built with https://github.com/yt-dlp/pyinstaller-builds
python devscripts/install_deps.py -o --include build python devscripts/install_deps.py -o --include build
python devscripts/install_deps.py --include py2exe python devscripts/install_deps.py --include py2exe
python -m pip install -U "https://yt-dlp.github.io/Pyinstaller-Builds/x86_64/pyinstaller-5.8.0-py3-none-any.whl" pip install -U "https://yt-dlp.github.io/Pyinstaller-Builds/x86_64/pyinstaller-5.8.0-py3-none-any.whl"
- name: Prepare - name: Prepare
run: | run: |

View File

@ -320,7 +320,7 @@ If you do not have the necessary dependencies for a task you are attempting, yt-
## COMPILE ## COMPILE
### Standalone PyInstaller Builds ### Standalone PyInstaller Builds
To build the standalone executable, you must have Python and `pyinstaller` (plus any of yt-dlp's [optional dependencies](#dependencies) if needed). The executable will be built for the same architecture (x86/ARM, 32/64 bit) as the Python used. You can run the following commands: To build the standalone executable, you must have Python and `pyinstaller` (plus any of yt-dlp's [optional dependencies](#dependencies) if needed). The executable will be built for the same architecture (x86/ARM, 32/64 bit) as the Python used. Once you have all the necessary dependencies installed, you can run the following commands:
``` ```
python3 devscripts/install_deps.py --include pyinstaller python3 devscripts/install_deps.py --include pyinstaller
@ -347,7 +347,7 @@ You can also run `make yt-dlp` instead to compile only the binary without updati
While we provide the option to build with [py2exe](https://www.py2exe.org), it is recommended to build [using PyInstaller](#standalone-pyinstaller-builds) instead since the py2exe builds **cannot contain `pycryptodomex`/`certifi` and needs VC++14** on the target computer to run. While we provide the option to build with [py2exe](https://www.py2exe.org), it is recommended to build [using PyInstaller](#standalone-pyinstaller-builds) instead since the py2exe builds **cannot contain `pycryptodomex`/`certifi` and needs VC++14** on the target computer to run.
If you wish to build it anyway, install Python (if it is not already installed) and you can run the following commands: If you wish to build it anyway, install Python and py2exe, you can run the following commands:
``` ```
py devscripts/install_deps.py --include py2exe py devscripts/install_deps.py --include py2exe

0
bundle/py2exe.py Executable file → Normal file
View File

0
bundle/pyinstaller.py Executable file → Normal file
View File

View File

@ -83,7 +83,7 @@ hook-dirs = "yt_dlp.__pyinstaller:get_hook_dirs"
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
include = ["yt_dlp*"] include = ["yt_dlp*"]
exclude = ["youtube_dl*", "youtube_dlc*", "test*", "ytdlp_plugins*", "devscripts*", "bundle*"] exclude = ["youtube_dl*", "youtube_dlc*", "test*", "ytdlp_plugins*", "devscripts*"]
namespaces = false # to disable scanning PEP 420 namespaces (true by default) namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools.dynamic] [tool.setuptools.dynamic]