dosage/dosagelib/configuration.py
Bastian Kleineidam da9eee3bc0 Updated copyright.
2013-02-15 18:32:36 +01:00

27 lines
1 KiB
Python

# Copyright (C) 2012-2013 Bastian Kleineidam
"""
Define basic configuration data like version or application name.
"""
import _Dosage_configdata as configdata
Version = configdata.version
ReleaseDate = configdata.release_date
AppName = configdata.name
App = AppName+u" "+Version
Author = configdata.author
HtmlAuthor = Author.replace(u' ', u' ')
Maintainer = configdata.maintainer
HtmlMaintainer = Maintainer.replace(u' ', u' ')
Copyright = u"Copyright (C) 2004-2008 " + \
(u",".join(Author.split(",")[:2]))+u" (C) 2012-2013 "+Maintainer
HtmlCopyright = u"Copyright © 2004-2008 " + \
(u",".join(HtmlAuthor.split(",")[:2]))+u" © 2012-2013 "+HtmlMaintainer
Url = configdata.url
SupportUrl = Url + u"/issues"
Email = configdata.maintainer_email
UserAgent = u"Mozilla/5.0 (compatible; %s/%s; +%s)" % (AppName, Version, Url)
Freeware = AppName+u""" comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution."""