dosage/dosagelib/configuration.py

23 lines
777 B
Python
Raw Normal View History

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' ')
Copyright = u"Copyright (C) 2004-2008 "+Author
HtmlCopyright = u"Copyright © 2004-2008 "+HtmlAuthor
Url = configdata.url
SupportUrl = Url + u"/issues"
Email = configdata.author_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
under certain conditions. Look at the file `LICENSE' within this
distribution."""