d58209c8a357d7cab8d7e26966ac4f6533b4c558
[rss2email.git] / rss2email / __init__.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 """rss2email: get RSS feeds emailed to you
18 """
19
20 import logging as _logging
21 import sys as _sys
22
23
24 __version__ = '3.6'
25 __url__ = 'https://github.com/wking/rss2email'
26 __author__ = 'W. Trevor King'
27 __email__ = 'rss2email@tremily.us'
28 __copyright__ = '(C) 2004 Aaron Swartz. GNU GPL 2 or 3.'
29 __contributors__ = [
30     'Aaron Swartz (original author)',
31     'Brian Lalor',
32     'Dean Jackson',
33     'Eelis van der Weegen',
34     'Erik Hetzner',
35     'Etienne Millon',
36     'George Saunders',
37     'Joey Hess',
38     'Lindsey Smith (lindsey@allthingsrss.com)',
39     'Marcel Ackermann (http://www.DreamFlasher.de)',
40     "Martin 'Joey' Schulze",
41     'Matej Cepl',
42     'W. Trevor King',
43     ]
44
45 LOG = _logging.getLogger('rss2email')
46 LOG.addHandler(_logging.StreamHandler())
47 LOG.setLevel(_logging.ERROR)
48
49
50 if _sys.version_info < (3, 2):
51     raise ImportError(
52         "rss2email requires Python 3.2, but you're using:\n{}".format(
53             _sys.version))