2
from .go import GoEnvironment
3
from .py import PyEnvironment
4
from ..utils import _check_call
7
def select_runtime(name, options):
8
# pyjuju does juju --version
9
result = _check_call(["juju", "version"], None, ignoreerr=True)
11
return PyEnvironment(name, options)
12
return GoEnvironment(name, options)