def finalize_options(self): _egg_info_orig.finalize_options(self) # use the same output directries in CMake build_dir = self.get_finalized_command("build").build_base dist_dir = self.get_finalized_command("sdist").dist_dir self.cmake.dist_dir = dist_dir self.cmake.build_dir = build_dir
def finalize_options(self): self.index_url = self.index_url or \ self.maybe_add_simple_index(CONFIG.pypi_url) if self.new_build: self.setup_new_build() _egg_info.finalize_options(self) self.revision_file = os.path.join(self.egg_info, 'revision.txt') self.test_option_file = os.path.join(self.egg_info, 'test_options.txt') self.all_revisions_file = os.path.join(self.egg_info, 'allrevisions.txt')
def finalize_options(self): self.index_url = self.index_url or \ self.maybe_add_simple_index(CONFIG.pypi_url) if self.new_build: self.setup_new_build() _egg_info.finalize_options(self) self.revision_file = os.path.join(self.egg_info, 'revision.txt') self.test_option_file = os.path.join(self.egg_info, 'test_options.txt') self.all_revisions_file = os.path.join(self.egg_info, 'allrevisions.txt')
def finalize_options(self): from path import path self.index_url = self.index_url or \ self.maybe_add_simple_index(CONFIG.pypi_url) self.pypi_client = self.pypi_client or pypi.PyPi(self.index_url) if self.new_build: self.setup_new_build() _egg_info.finalize_options(self) self.egg_info = path(self.egg_info) self.revision_file = self.egg_info / 'revision.txt' self.test_option_file = self.egg_info / 'test_options.txt' self.all_revisions_file = self.egg_info / 'allrevisions.txt'
def finalize_options(self): from path import path self.index_url = self.index_url or self.get_finalized_command('upload').repository self.pypi_client = pypi.PyPi(self.index_url) if self.new_build: self.setup_new_build() _egg_info.finalize_options(self) self.egg_info = path(self.egg_info) self.revision_file = self.egg_info / 'revision.txt' self.test_option_file = self.egg_info / 'test_options.txt' self.all_revisions_file = self.egg_info / 'allrevisions.txt'
def finalize_options(self): if (any(x in self.distribution.commands for x in ["register", "sdist", "bdist_wheel"]) and not using_check_manifest): if not using_rst: raise Exception("{} file not found".format(README_RST)) return egg_info.finalize_options(self)
def finalize_options(self, *args, **kwargs): """Handle missing lib dir for scripts-only packages""" # the egginfo data will be deleted as part of the cleanup cleanup = [] if not os.path.exists(REPO_LIB_DIR): log.warn('vsc_egg_info create missing %s (will be removed later)' % REPO_LIB_DIR) os.mkdir(REPO_LIB_DIR) cleanup.append(REPO_LIB_DIR) res = egg_info.finalize_options(self, *args, **kwargs) # cleanup any diretcories created for directory in cleanup: shutil.rmtree(directory) return res
def finalize_options(self): egg_info.finalize_options(self) if "build" in self.distribution.command_obj: build_command = self.distribution.command_obj["build"] self.egg_base = build_command.build_base self.egg_info = os.path.join(self.egg_base, os.path.basename(self.egg_info))
def finalize_options(self): """Post-process options.""" _egg_info.finalize_options(self)
def finalize_options(self): """Post-process options.""" _egg_info.finalize_options(self)
def finalize_options(self): # Must update version before egg_info sets internal egg_version in # finalize_options. self.run_command('update_version') egg_info.finalize_options(self)
def finalize_options(self): if getattr(self.distribution, 'packaged_for_salt_ssh', PACKAGED_FOR_SALT_SSH): self.distribution.metadata.name = 'salt-ssh' egg_info.finalize_options(self)