Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

For issue #57 pip wrongly selects a macosx binary .zip file

Instead of a source file it downloads a binary macosx .zip file
which contains a binary installer.
  • Loading branch information...
commit c8d11dee87041fcbbc1b06115bb381b6f02abb0f 1 parent 128f15c
@illume authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 pip/index.py
View
5 pip/index.py
@@ -294,6 +294,11 @@ def _link_package_versions(self, link, search_name):
logger.debug('Skipping link %s; unknown archive format: %s' % (link, ext))
self.logged_links.add(link)
return []
+ if "macosx10" in link.path and ext in ('.zip'):
+ if link not in self.logged_links:
+ logger.debug('Skipping link %s; macosx10 one' % (link))
+ self.logged_links.add(link)
+ return []
version = self._egg_info_matches(egg_info, search_name, link)
if version is None:
logger.debug('Skipping link %s; wrong project name (not %s)' % (link, search_name))
Please sign in to comment.
Something went wrong with that request. Please try again.