Skip to content

Commit

Permalink
feat(planner/python): Add dependencies for pyzbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Jun 25, 2023
1 parent 4e0d134 commit 89ce546
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/python/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ func determineAptDependencies(ctx *pythonPlanContext) []string {
deps = append(deps, "libpq-dev")
}

if HasDependency(ctx, "pyzbar") {
deps = append(deps, "libzbar0")
}

return deps
}

Expand Down

0 comments on commit 89ce546

Please sign in to comment.