8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8595b7 commit 1a4d369Copy full SHA for 1a4d369
setup.py
@@ -2,14 +2,17 @@
2
from setuptools import setup, find_packages
3
import sys
4
5
+lxml_requirement = "lxml"
6
if sys.platform == 'darwin':
- lxml = "lxml<2.4"
7
-else:
8
- lxml = "lxml"
+ import platform
+ mac_ver = platform.mac_ver()[0]
9
+ if mac_ver < '10.9':
10
+ print "Using lxml<2.4"
11
+ lxml_requirement = "lxml<2.4"
12
13
setup(
14
name="readability-lxml",
- version="0.3.0.2",
15
+ version="0.3.0.3",
16
author="Yuri Baburov",
17
author_email="burchik@gmail.com",
18
description="fast python port of arc90's readability tool",
@@ -20,7 +23,7 @@
20
23
packages=['readability'],
21
24
install_requires=[
22
25
"chardet",
- lxml
26
+ lxml_requirement
27
],
28
classifiers=[
29
"Environment :: Web Environment",
0 commit comments