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.
breadability/setup.py

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, 'NEWS.txt')).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',
]
}
)