EyeTrackVR-Docs/docs/_pages/Build_Software.md
2022-09-10 15:12:41 -07:00

1.5 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:

Install the required Python modules.

After cloning the project open a command prompt in the eyetrack app folder and run the command: pip install -r requirements.txt

If you have multiple python versions installed on your machine, run the command: py -3.6 -m pip install -r requirements.txt

This should install all of the required modules.

Build the app.

Now, you should be ready to build the app. With a command promt open in the EyeTrackApp folder, run the command pyinstaller eyetrackapp.spec

Give it time to build the app. Once done the app should be under dist/eyetrackapp

Optional steps:

  1. Move the Images folder from the source folder into the folder with the built .exe in it
  • this will let it have an icon in the app and taskbar.
  1. Use a program like Resource Hacker to replace the .exe icon with the correct logo.