mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-07 14:58:56 +00:00
feat: make GUI dependencies optional
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
@@ -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..."
|
||||
|
Reference in New Issue
Block a user