mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-29 18:51:24 +01:00
Compare commits
No commits in common. "45522873740036f6411468a9a2d04c355f7c8bcc" and "8c0a014908d34326d68973a7286c5a4d3058ff63" have entirely different histories.
4552287374
...
8c0a014908
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -336,7 +336,7 @@ jobs:
|
|||
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 --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
|
||||
run: |
|
||||
|
|
|
@ -320,7 +320,7 @@ If you do not have the necessary dependencies for a task you are attempting, yt-
|
|||
## COMPILE
|
||||
|
||||
### 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
|
||||
|
@ -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.
|
||||
|
||||
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
|
||||
|
|
0
bundle/py2exe.py
Executable file → Normal file
0
bundle/py2exe.py
Executable file → Normal file
0
bundle/pyinstaller.py
Executable file → Normal file
0
bundle/pyinstaller.py
Executable file → Normal file
|
@ -83,7 +83,7 @@ hook-dirs = "yt_dlp.__pyinstaller:get_hook_dirs"
|
|||
|
||||
[tool.setuptools.packages.find]
|
||||
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)
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
|
|
Loading…
Reference in New Issue
Block a user