Newer
Older
#!/usr/bin/env python
#
# Copyright (C) 2015 IT4Innovations
# Lumir Jasiok
# lumir.jasiok@vsb.cz
# http://www.it4i.cz
#
#
#
"""
EasyBuild support for building and installing Allinea software,
implemented as an easyblock.
@author: Lumir Jasiok (IT4 Innovations)
"""
from easybuild.framework.easyblock import EasyBlock
from easybuild.tools.run import run_cmd
class AllineaBase(EasyBlock):
"""Support for building and installing Allinea software"""
def install_step(self):
"""Simply run textinstall.sh skript with installdir path"""
cmd = "sh textinstall.sh --accept-licence %s" % self.installdir
run_cmd(cmd, log_all=True)