Skip to content

How to build Windows binary? #5649

Closed Answered by mikf
gphg asked this question in Q&A
Discussion options

You must be logged in to vote

The release page binaries are built with a slightly modified (to properly bundle certifi SSL certificates) version of py2exe by running

python setup.py py2exe

in the base directory while having requests, youtube-dl, and various other dependencies installed.

An easier way to bundle gallery-dl is to run scripts/pyinstaller.py. See executables.yml for how it is used to build files for https://github.com/gdl-org/builds/releases

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gphg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants