def set_platform(identifier):
    """Set the platform string identifier returned by get_platform().

    Note that this change doesn't impact the value returned by
    sysconfig.get_platform(); it is local to distutils2.
    """
    global _PLATFORM
    _PLATFORM = identifier
