@classmethod
def get_script_dependency(cls, data, **kwargs):
    """
        Note: when definig new depenency processors use following pattern:
        get_{name}_dependency -> where {name} is one of the defined in DepedencyTypeE
        this allows to easily extend dependency handling;
        :param data:
        :param directory:
        :return:
        """
    directory = kwargs.get('directory')
    return {'runtime_name': data['runtime_name'], 'source': cls._get_source
        (data['file'], directory)}
