Utils Intern: Unterschied zwischen den Versionen

Aus Wiki-500-Euro-RTM
Wechseln zu: Navigation, Suche
(exe aus Python Project erstellen)
(exe aus Python Project erstellen)
Zeile 11: Zeile 11:
  
 
== exe aus Python Project erstellen ==
 
== exe aus Python Project erstellen ==
[https://youtu.be/p3tSLatmGvU Convert GUI App to Real Program - Python to exe to setup wizard]
+
Youtube [https://youtu.be/p3tSLatmGvU Convert GUI App to Real Program - Python to exe to setup wizard]
 +
'''Bundle scripts and assets'''
 +
=== 1. Pyinstaller ===
 +
pip install pyinstaller
 +
 
 +
 
 +
 
 +
 
  
=== Pyinstaller ===
 
 
Start App '''Inno Setup'''
 
Start App '''Inno Setup'''

Version vom 21. Juli 2023, 11:39 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



Start App Inno Setup