|
| 1 | +# Key Note |
| 2 | + |
| 3 | +## Installation Packaging |
| 4 | + |
| 5 | +This project utilizes **InstallForge** to create an installer for the application. The packaging process was guided by a tutorial from [Python GUIs](https://www.pythonguis.com/tutorials/packaging-tkinter-applications-windows-pyinstaller/). |
| 6 | + |
| 7 | +## Steps to Package the Application |
| 8 | + |
| 9 | +1. **Prepare the Application:** |
| 10 | + - Ensure your Python script is working correctly. |
| 11 | + - Place any required files (e.g., icons, additional resources) in the appropriate directories. |
| 12 | + |
| 13 | +2. **Using PyInstaller:** |
| 14 | + - Open Visual Studio Code. |
| 15 | + - Install `pyinstaller` if not already installed: |
| 16 | + ```bash |
| 17 | + pip install pyinstaller |
| 18 | + ``` |
| 19 | + - Create a spec file for your application: |
| 20 | + ```bash |
| 21 | + pyinstaller --name "PY_FileEditor" --onefile main.py |
| 22 | + ``` |
| 23 | + - This will generate a `dist` folder containing your executable. |
| 24 | + |
| 25 | +3. **Create an Installer with InstallForge:** |
| 26 | + - Download and install InstallForge from [their official website](https://installforge.net/). |
| 27 | + - Open InstallForge and create a new project. |
| 28 | + - Add your executable and any other required files to the project. |
| 29 | + - Configure the installer settings (e.g., installation directory, shortcuts). |
| 30 | + - Build the installer. |
| 31 | + |
| 32 | +## References |
| 33 | + |
| 34 | +- Tutorial followed: [Packaging Tkinter applications for Windows with PyInstaller](https://www.pythonguis.com/tutorials/packaging-tkinter-applications-windows-pyinstaller/) |
| 35 | +- InstallForge: [InstallForge Official Website](https://installforge.net/) |
| 36 | + |
| 37 | +## Additional Notes |
| 38 | + |
| 39 | +- Ensure you test the installer on different Windows versions to check compatibility. |
| 40 | +- Regularly update your packaging process to incorporate any new dependencies or changes in the application structure. |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +Thank you for following the guidelines to package and distribute the Junior Professional File Editor application. |
0 commit comments