Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

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.

  1. In the terminal/cmd, navigate to the directory containing the project.
  2. Ensure the venv is activated: .\env\Scripts\activate
  3. Run AutoPyToEXE via the terminal command: auto-py-to-exe
    1. You may need to install it first. pip install auto-py-to-exe
  4. 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).
    1. Ensure the Additional Files paths are correct for your system.
    2. Under the Icon tab, you may point it to the icon file included, or use your own.
  5. Click the Convert button.
  6. Navigate to the generated ./output/OSBC folder, and within that folder you can run the OSBC.exe file. You may move this folder to wherever you'd like.

auto-py-to-exe-settings

*Note: CustomTkinter need to be pointed to in the Additional Files section.

{path to repo}/env/Lib/site-packages/customtkinter;customtkinter