Skip to content

Compile

Fernando José edited this page Oct 20, 2023 · 1 revision

Compile

If you wish to compile the project yourself, follow these steps. Note that the project is already compiled and available as an executable (.exe) file for direct use.

  1. Open a terminal or command line.

  2. Navigate to the root folder of the project where the main.py file is located.

  3. Run the following command to compile the project:

pyinstaller --add-data "imagenes;imagenes" --add-data "datos;datos" main.py

This command will use PyInstaller to create an executable file from main.py. Make sure that all necessary images and data are located in the images and data folders inside the root folder of the project.

Once the compilation is complete, you will find the executable file in the dist folder inside the root folder of the project. You can run the program from there.

Clone this wiki locally