1 # Copyright (C) 2013 W. Trevor King <wking@tremily.us>
3 # This file is part of pycalender.
5 # pycalender 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 3 of the License, or (at your option) any later
10 # pycalender 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.
14 # You should have received a copy of the GNU General Public License along with
15 # pycalender. If not, see <http://www.gnu.org/licenses/>.
17 import logging as _logging
21 __url__ = 'https://pypi.python.org/pypi/{}/'.format(__name__)
23 USER_AGENT = '{}/{} +{}'.format(__name__, __version__, __url__)
25 _LOG = _logging.getLogger(__name__)
26 _LOG.setLevel(_logging.WARNING)
27 _LOG.addHandler(_logging.StreamHandler())