mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
1.5 KiB
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:
- Python 3.6.8
- Pyinstaller
- Windows PC
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:
- Move the
Imagesfolder 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.
- Use a program like Resource Hacker to replace the .exe icon with the correct logo.