PyInstaller packages the entire AutoBackupTool application — including all Python dependencies — into a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Eraiyanbupeterfrancis/AutoBackupTool/llms.txt
Use this file to discover all available pages before exploring further.
.exe file. Users can run the tool on any Windows machine without installing Python or any libraries themselves.
Prerequisites
PyInstaller must be installed in your environment before you build:Build steps
Run the build command
From the root of the AutoBackupTool project directory, run:Each flag controls how PyInstaller packages the application:
| Flag | Effect |
|---|---|
--name AutoBackupTool | Sets the output EXE name to AutoBackupTool.exe |
--onefile | Packages everything into a single self-contained .exe |
--windowed | Suppresses the terminal/console window — suitable for GUI apps |
--icon=autobackuptool.ico | Applies the bundled icon to the EXE |
Find the output EXE
After the build completes, your executable is in the You can double-click it directly or distribute it to other machines.
dist/ folder:Alternative: build from a spec file
If you already have aAutoBackupTool.spec file (generated by a previous PyInstaller run or committed to the repository), you can rebuild directly from it:
Windows Defender and other antivirus tools may flag PyInstaller-generated EXEs as false positives. This is a known issue with PyInstaller on Windows, not a sign of malicious code. You can add a folder exclusion in Windows Security, or sign the EXE with a code signing certificate to eliminate the warning for end users.