This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Creating an Executable
Kellen Evoy edited this page May 14, 2023
·
7 revisions
Due to some issues with dependencies, it's not possible to build this project into a single file executable, however, a directory-based executable can be made.
- In the terminal/cmd, navigate to the directory containing the project.
- Ensure the venv is activated:
.\env\Scripts\activate
- Run AutoPyToEXE via the terminal command:
auto-py-to-exe
- You may need to install it first.
pip install auto-py-to-exe
- You may need to install it first.
- Configure the window similarly to the figure below (or import the auto-py-to-exe_settings.json file included in the root of this repository to speed up the process).
- Ensure the Additional Files paths are correct for your system.
- Under the Icon tab, you may point it to the icon file included, or use your own.
- Click the Convert button.
- Navigate to the generated
./output/OSBC
folder, and within that folder you can run theOSBC.exe
file. You may move this folder to wherever you'd like.
*Note: CustomTkinter need to be pointed to in the Additional Files section.
{path to repo}/env/Lib/site-packages/customtkinter;customtkinter