mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-07 13:22:26 +00:00
feat: make GUI dependencies optional
This commit is contained in:
1 parent
38a392a7c9
commit
00edb44442
8 files changed
+37
-15
No files matched your search
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
+1
-1
@@ -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