def find_sources(self): egg_info.find_sources(self) # update the self.filelist. self.filelist.exclude_pattern(RENDERED_TMPD_PREFIX + ".*", is_regex=True) # but since mfname is already written we have to update it also. mfname = os.path.join(self.egg_info, "SOURCES.txt") if os.path.exists(mfname): with open(mfname) as fp: files = [ f for f in fp if not f.startswith(RENDERED_TMPD_PREFIX) ] with open(mfname, "w") as fp: fp.write("".join(files))
def find_sources(self): ret = egg_info.find_sources(self) # update the self.filelist. self.filelist.exclude_pattern(RENDERED_TMPD_PREFIX + ".*", is_regex=True) # but since mfname is already written we have to update it also. mfname = os.path.join(self.egg_info, "SOURCES.txt") if os.path.exists(mfname): with open(mfname) as fp: files = [f for f in fp if not f.startswith(RENDERED_TMPD_PREFIX)] with open(mfname, "w") as fp: fp.write(''.join(files)) return ret
def find_sources(self): """Default lookup.""" egg_info.find_sources(self) self.filelist.extend(find_extra_sdist_files())
def find_sources(self): self.run_command('download_vendor') setuptools_egg_info.find_sources(self)
def find_sources(self): egg_info.find_sources(self) self.filelist.extend(find_extra_sdist_files())
def find_sources(self): egg_info_.find_sources(self) # Prune debian/ control directory. self.filelist.exclude_pattern(None, prefix='debian')