import{_ as r,a as i}from"./chunks/index.47cb84cc.js";import{_ as l}from"./chunks/CheckBoxList.b2594454.js";import{o as n,c as s,a as o,w as h,u as a,g as e,b as t,h as d}from"./app.24a1fc0a.js";const p={state:!0,object:[{label:"Python 3.11.0",link:"https://www.python.org/downloads/release/python-3110/"},{label:"Poetry",link:"https://python-poetry.org/"},{label:"Windows/Linux PC",link:""}]},u=e("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[t("Build the app from source "),e("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-hidden":"true"},"#")],-1),c=e("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[t("This guide will show how to build the app from source "),e("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-hidden":"true"},"#")],-1),m=e("p",null," This is NOT a required step, you do not need to build the app from source. ",-1),y=e("h2",{id:"requirements",tabindex:"-1"},[t("Requirements "),e("a",{class:"header-anchor",href:"#requirements","aria-hidden":"true"},"#")],-1),_=d('
EyetrackVR is currently using Python 3.11.0 Before you continue, please install it.
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 -
After cloning the project and installing Poetry, open a command prompt in the EyeTrackApp folder. Then run the command: poetry install
This should install all of the required modules.
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