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