1 # Copyright (C) 2012-2013 Arun Persaud <apersaud@lbl.gov>
2 # W. Trevor King <wking@tremily.us>
4 # This file is part of rss2email.
6 # rss2email is free software: you can redistribute it and/or modify it under
7 # the terms of the GNU General Public License as published by the Free Software
8 # Foundation, either version 2 of the License, or (at your option) version 3 of
11 # rss2email is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License along with
16 # rss2email. If not, see <http://www.gnu.org/licenses/>.
18 "A python script that converts RSS/Atom newsfeeds to email"
20 import codecs as _codecs
21 from distutils.core import setup
22 import os.path as _os_path
24 from rss2email import __version__, __url__, __author__, __email__
27 _this_dir = _os_path.dirname(__file__)
32 maintainer=__author__,
33 maintainer_email=__email__,
35 download_url='https://github.com/wking/rss2email/archive/v{}.tar.gz'.format(__version__),
36 license='GNU General Public License (GPL)',
39 long_description=_codecs.open(
40 _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
42 'Development Status :: 2 - Pre-Alpha',
43 'Environment :: Console',
44 'Intended Audience :: End Users/Desktop',
45 'Operating System :: OS Independent',
46 'License :: OSI Approved :: GNU General Public License (GPL)',
47 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
48 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
49 'Programming Language :: Python',
50 'Programming Language :: Python :: 3',
51 'Programming Language :: Python :: 3.2',
52 'Programming Language :: Python :: 3.3',
53 'Topic :: Communications :: Email',
54 'Topic :: Software Development :: Libraries :: Python Modules',
56 packages=['rss2email', 'rss2email.post_process'],
58 provides=['rss2email'],
60 'feedparser (>=5.0.1)',
61 'html2text (>=3.0.1)',