1.8 KiB
| layout | title | permalink | nav_order | parent |
|---|---|---|---|---|
| page | Building the app from source | /building-the-app/ | 3 | Software Guide |
This guide will show how to build the app from source
{% include custom/alerts/Note.html content="This is NOT a required step, you do not need to build the app from source." %}
Requirements:
- Python 3.11.0
- Poetry
- Windows/Linux PC
Install Python
EyetrackVR is currently using python version 3.11.0 before attempting to continue, please install it. Python 3.11.0
Installing Poetry
Since version 0.1.7 of EyeTrackVR, we have been using Poetry to manage app dependencies. To build the app, you must first install Poetry to fetch the required dependencies.
To install Poetry open Windows Powershell and run the following command (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
Install the required Python modules.
After cloning the project and installing poetry, open a command prompt in the eyetrack app folder. Then run the command: poetry install
This should install all of the required modules.
Build the app.
Now, you should be ready to build the app.
With a command prompt open in the EyeTrackApp folder, run the command poetry run pyinstaller eyetrackapp.spec
Give it time to build the app. Once done, the app should be under dist/eyetrackapp
Optional step:
- Use a program like Resource Hacker to replace the .exe icon with the correct logo.