def requirement_install(self, config, install_options, *args, **kwargs):
    '''
    Package installation method wrapper that applies custom install options if
    provided
    '''
    if config:
        install_options = config.get('install_options', install_options)
    return InstallRequirement.install(self, install_options, *args, **kwargs)
Beispiel #2
0
def requirement_install(self, config, install_options, *args, **kwargs):
    '''
    Package installation method wrapper that applies custom install options if
    provided
    '''
    if config:
        install_options = config.get('install_options', install_options)
    return InstallRequirement.install(self, install_options, *args, **kwargs)