def METHOD_NAME(self):
    # have to finalize 'plat_name' before 'bdist_base'
    if self.plat_name is None:
        if self.skip_build:
            self.plat_name = get_platform()
        else:
            self.plat_name = self.get_finalized_command('build').plat_name
    # 'bdist_base' -- parent of per-built-distribution-format
    # temporary directories (eg. we'll probably have
    # "build/bdist.<plat>/dumb", "build/bdist.<plat>/rpm", etc.)
    if self.bdist_base is None:
        build_base = self.get_finalized_command('build').build_base
        self.bdist_base = os.path.join(build_base,
                                       'bdist.' + self.plat_name)
    self.ensure_string_list('formats')
    if self.formats is None:
        try:
            self.formats = [self.default_format[os.name]]
        except KeyError:
            raise DistutilsPlatformError, \
                  "don't know how to create built distributions " + \
                  "on platform %s" % os.name
    if self.dist_dir is None:
        self.dist_dir = "dist"