Skip to content

Pyinstaller

Fabio Zito edited this page Feb 24, 2023 · 33 revisions

This is a brief guide to explain our steps to make a binary file from fit.py.

Prerequisites

Make sure you have installed FIT on your development machine as explained in the fit repository

Windows

Below you find are the steps taken to create an executable on windows 11.

First you need to install pyinstaller in your poetry virtualenvs. To do this, just to type the command poetry add pyinstaller. Currently (version 5.8.0) it's possible after the command you receive the following error. To resolve it just replace the python property in the pyproject.toml file from python = "^3.9" to python = ">=3.9,<3.12".

image

Clone this wiki locally