pythonVenvDir returns the effective venv directory name for a Python project.
(venv string)
| 816 | |
| 817 | // pythonVenvDir returns the effective venv directory name for a Python project. |
| 818 | func pythonVenvDir(venv string) string { |
| 819 | if venv != "" { |
| 820 | return venv |
| 821 | } |
| 822 | return "venv" |
| 823 | } |
| 824 | |
| 825 | // checkDependencies returns whether installation is needed and a human-readable description. |
| 826 | func checkDependencies(runtime, dir, venv string) (needed bool, desc string) { |
no outgoing calls
no test coverage detected