Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Application to Executable #65

Open
hugs7 opened this issue Sep 23, 2024 · 0 comments
Open

Build Application to Executable #65

hugs7 opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hugs7
Copy link
Owner

hugs7 commented Sep 23, 2024

Build Application to Executable

For production release, we need to build the src code into an executable (exe on Windows). Usually pyinstaller can be used for this. We should build a batch, or possibly a shell or Python script for running the build.

Notes:

  • None of us have a Mac so we'll probably just be building for Windows.
  • The project contains various config files. These should not be built into the executable, and instead should be user-customisable. We may need to revisit how paths are accessed in compiled mode. It is possible to determine if in compiled mode via the following function.
def is_compiled() -> bool:
    return getattr(sys, 'frozen', False)
  • We should build all of
    • The full app
    • Eye tracking only
    • Drone Control only
    • Voice Control only

into 4 separate exes.

@hugs7 hugs7 added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant