Compile to exe with PyInstaller and send to your love
- Install Python here
- Download code here
- Extract zip file
- Open CMD in folder extracted
- Install PyInstaller and PyPiWin32 (run on CMD)
python -m pip install pyinstaller pypiwin32
- Compile main.py to main.exe (run on CMD)
- If you don't have icon (.ico file), you can remove --icon= in your command!
pyinstaller main.py --upx-dir=. --onefile --icon=<your-path-icon>
- File exe in
./dist/main.exe
- Send to your love and Enjoy