dosage/dosagelib/configuration.py

28 lines
1 KiB
Python
Raw Normal View History

2013-02-15 17:32:36 +00:00
# Copyright (C) 2012-2013 Bastian Kleineidam
2012-09-26 14:47:39 +00:00
"""
Define basic configuration data like version or application name.
"""
2012-06-20 19:58:13 +00:00
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' ')
2012-10-11 10:03:12 +00:00
Maintainer = configdata.maintainer
HtmlMaintainer = Maintainer.replace(u' ', u' ')
2012-10-12 20:15:40 +00:00
Copyright = u"Copyright (C) 2004-2008 " + \
2013-02-15 17:32:36 +00:00
(u",".join(Author.split(",")[:2]))+u" (C) 2012-2013 "+Maintainer
2012-10-12 20:15:40 +00:00
HtmlCopyright = u"Copyright © 2004-2008 " + \
2013-02-15 17:32:36 +00:00
(u",".join(HtmlAuthor.split(",")[:2]))+u" © 2012-2013 "+HtmlMaintainer
2012-06-20 19:58:13 +00:00
Url = configdata.url
2013-03-04 18:10:26 +00:00
SupportUrl = Url + u"issues"
2012-10-11 10:03:12 +00:00
Email = configdata.maintainer_email
2012-09-26 14:52:45 +00:00
UserAgent = u"Mozilla/5.0 (compatible; %s/%s; +%s)" % (AppName, Version, Url)
2012-06-20 19:58:13 +00:00
Freeware = AppName+u""" comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
2013-03-07 17:19:50 +00:00
under certain conditions. Look at the file `COPYING' within this
2012-06-20 19:58:13 +00:00
distribution."""