Utils Intern: Unterschied zwischen den Versionen
(→1. Pyinstaller) |
(→1. Pyinstaller) |
||
Zeile 16: | Zeile 16: | ||
=== 1. Pyinstaller === | === 1. Pyinstaller === | ||
pip install pyinstaller<br> | pip install pyinstaller<br> | ||
− | cd src | + | cd src<br> |
pyinstaller --name Master --onefile --windowed --icon=logo-rsl.ico Master.py<br> | pyinstaller --name Master --onefile --windowed --icon=logo-rsl.ico Master.py<br> | ||
Version vom 22. Juli 2023, 14:52 Uhr
Inhaltsverzeichnis
requirements.txt
cd src
pip freeze > requirements.txt
pip install -r requirements.txt
Virtuelle Umgebung venv
pip install virtualenv
virtualenv venv
venv\Scripts\activate
deactivate
exe aus Python Project erstellen
Youtube Convert GUI App to Real Program - Python to exe to setup wizard
Bundle scripts and assets
1. Pyinstaller
pip install pyinstaller
cd src
pyinstaller --name Master --onefile --windowed --icon=logo-rsl.ico Master.py
needs logo-rsl.ico in src/dist neben Master.exe
Start App Inno Setup