def finalize_options(self): """Finalize the options.""" bdist.finalize_options(self) BaseCommand.finalize_options(self) cmd_build = self.get_finalized_command("build") self.build_base = cmd_build.build_base self.set_undefined_options("bdist", ("dist_dir", "dist_dir"))
def finalize_options(self): if not self.build_extra_opts: self.build_extra_opts = '' if not self.install_extra_opts: self.install_extra_opts = '' _bdist.finalize_options(self)
def finalize_options(self): """Finalize the options.""" bdist.finalize_options(self) BaseCommand.finalize_options(self) self.set_undefined_options("bdist", ("dist_dir", "dist_dir")) if self.debug: self.log.setLevel(logging.DEBUG) log.set_threshold(1) # Set Distutils logging level to DEBUG
def finalize_options(self): if not self.build_extra_opts: self.build_extra_opts = '' if not self.install_extra_opts and not self.dontpreservepath: self.install_extra_opts = '--preservepath' elif self.install_extra_opts and not self.dontpreservepath: if self.install_extra_opts.find('--preservepath') == -1: self.install_extra_opts = \ self.install_extra_opts + ' --preservepath' elif self.install_extra_opts and self.dontpreservepath: pass else: self.install_extra_opts = '' _bdist.finalize_options(self)
def finalize_options(self): """Finalize the options.""" bdist.finalize_options(self) def _get_fullname(): label = "-{}".format(self.label) if self.label else "" python_version = "-py{}".format(get_python_version()) \ if self.byte_code_only else "" return "{name}{label}-{version}{edition}{pyver}".format( name=self.distribution.get_name(), label=label, version=self.distribution.get_version(), edition=self.edition or "", pyver=python_version) self.distribution.get_fullname = _get_fullname if self.bdist_dir is None: self.bdist_dir = os.path.join(self.dist_dir, "bdist.{}".format(self.plat_name)) if self.debug: self.log.setLevel(logging.DEBUG) log.set_threshold(1) # Set Distutils logging level to DEBUG
def finalize_options(self): _bdist.finalize_options(self) self.dist_dir = py_dist_dir
def finalize_options(self): _bdist.finalize_options(self) Helper.finalize_options(self)
def finalize_options(self): _bdist.finalize_options(self) self.dist_dir = os.path.relpath(dist_dir)
def finalize_options(self): global enable_pcre enable_pcre = self.enable_pcre bdist.finalize_options(self)
def finalize_options(self): bdist.finalize_options(self) # Pass option to the build command build_cmd = self.get_finalized_command('build') if build_cmd.cythonize is None: build_cmd.cythonize = self.cythonize
def finalize_options(self): lst = [('bdist_zip', BDistZip)] for cmd, cls in lst: _, desc = self.format_command[cls.format] self.format_command[cls.format] = (cmd, desc) _bdist.finalize_options(self)