def environment_setting_format(value):
    """Space-separated values in 'key=value' format."""
    try:
        env_name, env_value = value.split('=')
    except ValueError:
        message = (
            'Incorrectly formatted environment settings. Argument values should be in the format a=b c=d'
            )
        raise ValueError(message)
    return {'name': env_name, 'value': env_value}
