2016-03-03 00:05:36 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2016-10-28 22:21:41 +00:00
|
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
2014-01-05 15:50:57 +00:00
|
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
2017-02-14 21:07:52 +00:00
|
|
|
# Copyright (C) 2015-2017 Tobias Gruetzmacher
|
2012-06-20 19:58:13 +00:00
|
|
|
"""
|
2013-03-06 19:00:30 +00:00
|
|
|
Automated comic downloader. Dosage traverses comic websites in
|
2012-06-20 19:58:13 +00:00
|
|
|
order to download each strip of the comic. The intended use is for
|
|
|
|
mirroring the strips locally for ease of viewing; redistribution of the
|
|
|
|
downloaded strips may violate copyright, and is not advisable unless you
|
|
|
|
have communicated with all of the relevant copyright holders, described
|
|
|
|
your intentions, and received permission to distribute.
|
|
|
|
|
2013-03-26 16:29:20 +00:00
|
|
|
The primary interface is the 'dosage' commandline script.
|
|
|
|
Comic modules for each comic are located in L{dosagelib.plugins}.
|
2012-06-20 19:58:13 +00:00
|
|
|
"""
|
2016-06-05 14:01:35 +00:00
|
|
|
from __future__ import absolute_import, division, print_function
|
2013-07-04 18:55:43 +00:00
|
|
|
|
2016-06-05 14:01:35 +00:00
|
|
|
import sys
|
|
|
|
import os
|
2015-11-06 21:08:14 +00:00
|
|
|
from pbr.version import VersionInfo
|
2015-11-03 22:27:53 +00:00
|
|
|
|
|
|
|
AppName = u'dosage'
|
2016-06-05 14:01:35 +00:00
|
|
|
|
|
|
|
version_info = VersionInfo(AppName)
|
|
|
|
__version__ = version_info.version_string() # PEP 396
|
|
|
|
AppVersion = version_info.release_string()
|