feat: make GUI dependencies optional

This commit is contained in:
thePR0M3TH3AN
2025-08-07 10:51:13 -04:00
parent 38a392a7c9
commit 00edb44442
8 changed files with 37 additions and 15 deletions

View File

@@ -14,10 +14,17 @@ python -m seedpass_gui
seedpass-gui
```
Only `toga-core` and the headless `toga-dummy` backend ship with the project.
The installation scripts automatically install the correct BeeWare backend so
the GUI works out of the box. If you set up SeedPass manually, install the
backend for your platform:
GUI dependencies are optional. Install them alongside SeedPass with:
```bash
pip install "seedpass[gui]"
# or when working from a local checkout
pip install -e .[gui]
```
After installing the optional GUI extras, add the BeeWare backend for your
platform:
```bash
# Linux