Skip to content

Commit

Permalink
Merge pull request #59 from seomoz/mac_10_10
Browse files Browse the repository at this point in the history
Fix mac version comparison in setup.py for 10.10
  • Loading branch information
buriy committed Jan 13, 2015
2 parents 2d4cfdb + c8c2f88 commit aeb4f4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
if sys.platform == 'darwin':
import platform
mac_ver = platform.mac_ver()[0]
if mac_ver < '10.9':
mac_ver_no = int(mac_ver.split('.')[1])
if mac_ver_no < 9:
print "Using lxml<2.4"
lxml_requirement = "lxml<2.4"

Expand Down

0 comments on commit aeb4f4c

Please sign in to comment.