def process_distribution(self, requirement, dist, deps=True, *info): """ Just a way to retrieve the current distribution object. """ ret = old_easy_install.process_distribution(self, requirement, dist, deps, *info) # save distribution self.dist = dist return ret
def process_distribution(self, requirement, dist, deps=True, *info): """ Just a way to retrieve the current distribution object. """ ret = old_easy_install.process_distribution(self, requirement, dist, deps, *info) # save distribution self.dist = dist return ret
def process_distribution(self, requirement, dist, deps=True, *info): """This version of process_distribution will force the package index to search for local distributions before going out to PyPI when processing a package's dependency. It will already do this for the first dependency, but not for subsequent dependencies--something I would consider a bug. """ if self.package_index.to_scan is None: self.package_index.to_scan = [] return easy_install.process_distribution(self, requirement, dist, deps, *info)
def process_distribution(self, requirement, dist, deps=True, *info): """This version of process_distribution will force the package index to search for local distributions before going out to PyPI when processing a package's dependency. It will already do this for the first dependency, but not for subsequent dependencies--something I would consider a bug. """ if self.package_index.to_scan is None: self.package_index.to_scan = [] return easy_install.process_distribution(self, requirement, dist, deps, *info)
def process_distribution(self, requirement, dist, deps=True, *info): if dist in self.local_index[dist.key]: self.local_index.remove(dist) return _easy_install.process_distribution(self, requirement, dist, deps, *info)
def process_distribution(self, requirement, dist, deps=True, *info): if dist in self.local_index[dist.key]: self.local_index.remove(dist) return _easy_install.process_distribution(self, requirement, dist, deps, *info)