Utils Intern: Unterschied zwischen den Versionen

Aus Wiki-500-Euro-RTM
Wechseln zu: Navigation, Suche
(1. Pyinstaller)
Zeile 15: Zeile 15:
 
'''Bundle scripts and assets'''
 
'''Bundle scripts and assets'''
 
=== 1. Pyinstaller ===
 
=== 1. Pyinstaller ===
pip install pyinstaller
+
pip install pyinstaller<br>
 
pyinstaller name Master --onefile --windowed icon=logo-rsl.ico Master.py
 
pyinstaller name Master --onefile --windowed icon=logo-rsl.ico Master.py
  

Version vom 21. Juli 2023, 12:54 Uhr

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
pyinstaller name Master --onefile --windowed icon=logo-rsl.ico Master.py




Start App Inno Setup