1
# XXX this is auto-generated charm-tools boilerplate code, eventually we
2
# should pull charmhelpers from a package instead using PIP.
7
Do any setup required before the install hook.
12
def install_charmhelpers():
14
Install the charmhelpers library, if not present.
17
import charmhelpers # noqa
20
subprocess.check_call(['apt-get', 'install', '-y', 'python-pip'])
21
subprocess.check_call(['pip', 'install', 'charmhelpers'])