-
Download PyInstaller
pip install pyinstaller -
Change directory to the Python script directory
cd <path> -
Compile Python script to .exe (--name = output name; --onefile = single executable file)
pyinstaller --name "Prometheus Backfilling" -F prometheus_backfill.py
or
pyinstaller --name "Prometheus Backfilling" --onefile --add-data "arrow.png:." --add-data "browse.png:." --add-data "logo.png:." --icon=logo.png prometheus_backfill.py -
Go to the
/distdirectory to find the.exefile
RJ-WZ/Prometheus-Backfilling
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|