(ctx context.Context, archiveName, condaVersion, pythonVersion string)
| 26 | } |
| 27 | |
| 28 | func NewCondaPython(ctx context.Context, archiveName, condaVersion, pythonVersion string) *CondaPython { |
| 29 | return &CondaPython{ |
| 30 | ctx: ctx, |
| 31 | archiveName: archiveName, |
| 32 | condaVersion: condaVersion, |
| 33 | pythonVersion: pythonVersion, |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func (c *CondaPython) installConda(scriptPath, installDir string) error { |
| 38 | if !fileio.PathExists(scriptPath) { |