Skip to content

Commit

Permalink
Fix mac version comparison in setup.py for 10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Peters committed Jan 13, 2015
1 parent 2d4cfdb commit c8c2f88
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 c8c2f88

Please sign in to comment.