EyeTrackVR-Docs/assets/software_guide_build_software.md.aa1553be.lean.js
2025-05-31 01:42:54 +00:00

2 lines
3.7 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as n,a as l}from"./chunks/index.c19b2931.js";import{_ as i}from"./chunks/CheckBoxList.1747249a.js";import{o as s,c as p,k as t,a as o,E as a,w as d,l as r,O as h}from"./chunks/framework.ece1a6f0.js";const u={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:""}]},g=JSON.parse('{"title":"Build the app from source","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/build_software.md","filePath":"software_guide/build_software.md","lastUpdated":1700510338000}'),c={name:"software_guide/build_software.md"},P=Object.assign(c,{setup(m){return(f,e)=>(s(),p("div",null,[e[1]||(e[1]=t("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[o("Build the app from source "),t("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-label":'Permalink to "Build the app from source {.text-[var(--font-accent)]}"'},"")],-1)),e[2]||(e[2]=t("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[o("This guide will show how to build the app from source "),t("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-label":'Permalink to "This guide will show how to build the app from source"'},"")],-1)),a(n,{options:r(l).build_software_one},{content:d(()=>e[0]||(e[0]=[t("p",null," This is NOT a required step, you do not need to build the app from source. ",-1)])),_:1},8,["options"]),e[3]||(e[3]=t("h2",{id:"requirements",tabindex:"-1"},[o("Requirements "),t("a",{class:"header-anchor",href:"#requirements","aria-label":'Permalink to "Requirements"'},"")],-1)),a(i,{options:{...r(u)}},null,8,["options"]),e[4]||(e[4]=h('<h2 id="install-python" tabindex="-1">Install Python <a class="header-anchor" href="#install-python" aria-label="Permalink to &quot;Install Python&quot;"></a></h2><p>EyeTrackVR is currently using <a href="https://www.python.org/downloads/release/python-3110/" target="_blank" rel="noreferrer">Python 3.11.0</a> Before you continue, please install it.</p><h2 id="installing-poetry" tabindex="-1">Installing Poetry <a class="header-anchor" href="#installing-poetry" aria-label="Permalink to &quot;Installing Poetry&quot;"></a></h2><p>Starting with version <code>0.1.7</code>, EyeTrackVR uses Poetry to manage app dependencies. To build the app, you must first install Poetry to fetch the required dependencies.</p><p>To install Poetry open Windows Powershell and run the following command <code>(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -</code></p><p><a href="https://python-poetry.org/docs/" target="_blank" rel="noreferrer">Poetry Documentation</a></p><h2 id="install-the-required-python-modules" tabindex="-1">Install the required Python modules <a class="header-anchor" href="#install-the-required-python-modules" aria-label="Permalink to &quot;Install the required Python modules&quot;"></a></h2><p>After cloning the project and installing Poetry, open a command prompt in the EyeTrackApp folder. Then run the command: <code>poetry install</code></p><p>This should install all of the required modules.</p><h2 id="build-the-app" tabindex="-1">Build the app <a class="header-anchor" href="#build-the-app" aria-label="Permalink to &quot;Build the app&quot;"></a></h2><p>Now, you should be ready to build the app. With a command prompt open in the EyeTrackApp folder, run the command <code>poetry run pyinstaller eyetrackapp.spec</code></p><p>Give it time to build the app. Once done, the app should be under <code>dist/eyetrackapp</code></p>',12))]))}});export{g as __pageData,P as default};