Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.91 KB

build instructions.md

File metadata and controls

35 lines (28 loc) · 1.91 KB

Install and Build instructions

Requirements

Windows

All platforms

  • Python 3.10+.
  • Node is optional, but required for complete linting.
  • PowerShell
  • VSCode is not required, but highly recommended.
    • Everything already configured in the workspace, including Run (F5) and Build (Ctrl+Shift+B) commands, default shell, and recommended extensions.
    • PyCharm is also a good Python IDE, but nothing is configured. If you are a PyCharm user, feel free to open a PR with all necessary workspace configurations!

Install and Build steps

  • Create and activate a virtual environment:
    • Windows / PowerShell:
      • python -m venv .venv
      • & ./.venv/Scripts/Activate.ps1
    • Unix / Bash:
      • python3 -m venv .venv
      • source .venv/bin/activate
  • Run ./scripts/install.ps1 to install all dependencies.
    • If you're having issues with the PySide generated code, you might want to first run pip uninstall -y shiboken6 PySide PySide-Essentials
  • Run the app directly with ./scripts/start.ps1 [--auto-controlled].
    • Or debug by pressing F5 in VSCode.
    • The --auto-controlled flag is passed when AutoSplit is started by LiveSplit.
  • Run ./scripts/build.ps1 or press CTRL+Shift+B in VSCode to build an executable.
  • Optional: Recompile resources after modifications by running ./scripts/compile_resources.ps1.
    • This should be done automatically by other scripts