

def install_restricted_from_cfg(config_file):
    'Install restricted tools and dependencies which are distro independent.\n\n    :param config_file: (~str) Path to configuration file having information about restricted content.\n    '
    cp = ConfigParser.ConfigParser({
        'RootDir': root_dir,
        'Pid': pid,
    })
    cp.read(config_file)
    for section in cp.sections():
        Colorizer.info(('[*] Installing %s' % section))
        install_in_directory(os.path.expanduser(cp.get(section, 'directory')), cp.get(section, 'command'))

dataset/ETHPy150Open owtf/owtf/install/install.py install_restricted_from_cfg/original