mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-29 10:41:23 +01:00
Compare commits
4 Commits
8c0a014908
...
4552287374
Author | SHA1 | Date | |
---|---|---|---|
|
4552287374 | ||
|
3d6252b045 | ||
|
ea9156650a | ||
|
91a7657aa3 |
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
|
||||
pip install -U "https://yt-dlp.github.io/Pyinstaller-Builds/x86_64/pyinstaller-5.8.0-py3-none-any.whl"
|
||||
python -m 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. Once you have all the necessary dependencies installed, 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. 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 and py2exe, you can run the following commands:
|
||||
If you wish to build it anyway, install Python (if it is not already installed) and you can run the following commands:
|
||||
|
||||
```
|
||||
py devscripts/install_deps.py --include py2exe
|
||||
|
|
0
bundle/py2exe.py
Normal file → Executable file
0
bundle/py2exe.py
Normal file → Executable file
0
bundle/pyinstaller.py
Normal file → Executable file
0
bundle/pyinstaller.py
Normal file → Executable 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*"]
|
||||
exclude = ["youtube_dl*", "youtube_dlc*", "test*", "ytdlp_plugins*", "devscripts*", "bundle*"]
|
||||
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
|
|
Loading…
Reference in New Issue
Block a user