breadability/setup.py
2013-03-07 17:12:14 +01:00

56 lines
1.4 KiB
Python

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, 'CHANGELOG.rst')).read()
version = '0.1.11'
install_requires = [
# http://packages.python.org/distribute/setuptools.html#declaring-dependencies
'charade',
'lxml',
]
tests_require = [
'coverage',
'nose',
]
if sys.version_info < (2, 7):
# Require argparse since it's not in the stdlib yet.
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',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
test_suite='tests',
extras_require={
'test': tests_require
},
entry_points={
'console_scripts': [
'breadability=breadability:client.main',
'breadability_newtest=breadability:newtest.main',
]
}
)