You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-readability/setup.py

36 lines
998 B
Python

#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
lxml_requirement = "lxml"
if sys.platform == 'darwin':
import platform
mac_ver = platform.mac_ver()[0]
mac_ver_no = int(mac_ver.split('.')[1])
if mac_ver_no < 9:
print "Using lxml<2.4"
lxml_requirement = "lxml<2.4"
14 years ago
setup(
name="readability-lxml",
version="0.5",
author="Yuri Baburov",
author_email="burchik@gmail.com",
description="fast python port of arc90's readability tool",
test_suite = "tests.test_article_only",
14 years ago
long_description=open("README").read(),
license="Apache License 2.0",
url="http://github.com/buriy/python-readability",
packages=['readability'],
install_requires=[
"chardet",
lxml_requirement
],
14 years ago
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
14 years ago
)