diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-19 17:51:00 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-19 17:51:00 +0900 |
| commit | f8902e3679f98356d2e2e01fce9a8bad56c76db8 (patch) | |
| tree | 5f12a29388e13bcbf004ded82063aefb9f683236 /internal/rosa/python.go | |
| parent | 8ee53a51640f7f53e7877a809b6817cb646a5d39 (diff) | |
internal/rosa/python: append to source path
This gets around messy projects with multiple packages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/python.go')
| -rw-r--r-- | internal/rosa/python.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 4746f4a7..0da5f5f4 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -83,6 +83,8 @@ func init() { // PipHelper is the [Python] pip packaging helper. type PipHelper struct { + // Path elements joined with source. + Append []string // Whether to omit --no-build-isolation. BuildIsolation bool // Whether to enter source after install. @@ -133,7 +135,7 @@ pip3 install \ --no-index \ --prefix=/system \ --root=/work \` + extra + ` - '/usr/src/` + name + `' + '` + AbsUsrSrc.Append(name).Append(attr.Append...).String() + `' ` + script } |
