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

@@ -255,7 +255,7 @@ if ($LASTEXITCODE -ne 0) {
Write-Error "Dependency installation failed."
}
& "$VenvDir\Scripts\python.exe" -m pip install -e .
& "$VenvDir\Scripts\python.exe" -m pip install -e .[gui]
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to install SeedPass package"
}

View File

@@ -143,7 +143,7 @@ main() {
print_info "Installing/updating Python dependencies from requirements.lock..."
pip install --upgrade pip
pip install --require-hashes -r requirements.lock
pip install -e .
pip install -e .[gui]
print_info "Installing platform-specific Toga backend..."
if [ "$OS_NAME" = "Linux" ]; then
print_info "Installing toga-gtk for Linux..."