Skip to content

Commit

Permalink
Fix for pep425tags.get_platforms() on OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Feb 2, 2016
1 parent 1eaeb5e commit cf60529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip/pep425tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_platforms():
# be signficantly older than the user's current machine.
release, _, machine = platform.mac_ver()
split_ver = release.split('.')
return 'macosx_{0}_{1}_{2}'.format(split_ver[0], split_ver[1], machine)
return ['macosx_{0}_{1}_{2}'.format(split_ver[0], split_ver[1], machine)]
# XXX remove distutils dependency
platforms = ['any']
plat = distutils.util.get_platform()
Expand Down

0 comments on commit cf60529

Please sign in to comment.