'Creates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
object that is later passed to the register callback functions.
Subclasses can override this to return a subclass of the setup state.'

def make_setup_state(self, app, options, first_registration=False):

    return BlueprintSetupState(self, app, options, first_registration)
