Create a Python virtual environment at venv_path. :param str venv_path: path where the venv should be created
(venv_path)
| 218 | |
| 219 | |
| 220 | def create_venv(venv_path): |
| 221 | """Create a Python virtual environment at venv_path. |
| 222 | |
| 223 | :param str venv_path: path where the venv should be created |
| 224 | |
| 225 | """ |
| 226 | python = find_python_executable() |
| 227 | command = [python, '-m', 'venv', venv_path] |
| 228 | subprocess_with_print(command) |
| 229 | |
| 230 | |
| 231 | def main(pip_args=None): |
no test coverage detected