breadability/setup.py

56 lines
1.4 KiB
Python
Raw Normal View History

from setuptools import setup, find_packages
import sys
import os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
version = '0.1.11'
install_requires = [
# http://packages.python.org/distribute/setuptools.html#declaring-dependencies
2013-03-07 14:42:18 +00:00
'charade',
'lxml',
]
tests_require = [
'coverage',
'nose',
]
if sys.version_info < (2, 7):
# Require argparse since it's not in the stdlib yet.
2012-12-13 01:08:09 +00:00
install_requires.append('argparse')
install_requires.append('unittest2')
setup(
name='breadability',
version=version,
description="Redone port of Readability API in Python",
long_description=README + '\n\n' + NEWS,
classifiers=[
# Get strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
],
keywords='readable parsing html content bookie',
author='Rick Harding',
author_email='rharding@mitechie.com',
url='http://docs.bmark.us',
license='BSD',
2013-03-07 12:14:04 +00:00
packages=find_packages(),
2012-05-03 03:06:05 +00:00
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
2012-05-03 03:06:05 +00:00
tests_require=tests_require,
2013-03-07 12:14:04 +00:00
test_suite='tests',
extras_require={
'test': tests_require
},
entry_points={
'console_scripts': [
'breadability=breadability:client.main',
'breadability_newtest=breadability:newtest.main',
]
}
)