[skip travis] advice using pyinst.py for windows

This commit is contained in:
Tom-Oliver Heidel 2020-09-23 21:15:54 +02:00 committed by GitHub
parent 1f6cf75488
commit b96a939bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ Using curl:
**Windows** users can download [youtube-dlc.exe](https://github.com/blackjack4494/youtube-dlc/releases/latest/download/youtube-dlc.exe) (**do not** put in `C:\Windows\System32`!). **Windows** users can download [youtube-dlc.exe](https://github.com/blackjack4494/youtube-dlc/releases/latest/download/youtube-dlc.exe) (**do not** put in `C:\Windows\System32`!).
**Compile** **Compile**
To build the Windows executable yourself To build the Windows executable yourself (without version info!)
python -m pip install --upgrade pyinstaller python -m pip install --upgrade pyinstaller
pyinstaller.exe youtube_dlc\__main__.py --onefile --name youtube-dlc pyinstaller.exe youtube_dlc\__main__.py --onefile --name youtube-dlc
@ -58,6 +58,9 @@ To build the Windows executable yourself
Or simply execute the `make_win.bat` if pyinstaller is installed. Or simply execute the `make_win.bat` if pyinstaller is installed.
There will be a `youtube-dlc.exe` in `/dist` There will be a `youtube-dlc.exe` in `/dist`
New way to build Windows is to use `python pyinst.py` (please use python3 64Bit)
For 32Bit Version use a 32Bit Version of python (3 preferred here as well) and run `python pyinst32.py`
For Unix: For Unix:
You will need the required build tools You will need the required build tools
python, make (GNU), pandoc, zip, nosetests python, make (GNU), pandoc, zip, nosetests