rss2email: Fix "Python 3.2 or newer" typo
[rss2email.git] / setup.py
1 # Copyright (C) 2012-2013 Arun Persaud <apersaud@lbl.gov>
2 #                         W. Trevor King <wking@tremily.us>
3 #
4 # This file is part of rss2email.
5 #
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
9 # the License.
10 #
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.
14 #
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/>.
17
18 "A python script that converts RSS/Atom newsfeeds to email"
19
20 import codecs as _codecs
21 from distutils.core import setup
22 import os.path as _os_path
23
24 from rss2email import __version__, __url__, __author__, __email__
25
26
27 _this_dir = _os_path.dirname(__file__)
28
29 setup(
30     name='rss2email',
31     version=__version__,
32     maintainer=__author__,
33     maintainer_email=__email__,
34     url=__url__,
35     download_url='https://github.com/wking/rss2email/archive/v{}.tar.gz'.format(__version__),
36     license='GNU General Public License (GPL)',
37     platforms=['all'],
38     description=__doc__,
39     long_description=_codecs.open(
40         _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
41     classifiers=[
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',
55         ],
56     packages=['rss2email', 'rss2email.post_process'],
57     scripts=['r2e'],
58     provides=['rss2email'],
59     install_requires=[
60         'feedparser>=5.0.1',
61         'html2text>=3.0.1',
62         ],
63     )