2 # -*- coding: utf-8 -*-
5 Copyright (C) 2007 Christoph Würstle
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation.
15 _moduleLogger = logging.getLogger(__name__)
16 sys.path.append('/usr/lib/mormonchannel')
20 import mormonchannel_gtk
23 if __name__ == "__main__":
25 os.makedirs(constants._data_path_)
31 os.makedirs(constants._cache_path_)
36 logging.basicConfig(level=logging.DEBUG, filename=constants._user_logpath_)
37 _moduleLogger.info("%s %s-%s" % (constants.__app_name__, constants.__version__, constants.__build__))
38 _moduleLogger.info("OS: %s" % (os.uname()[0], ))
39 _moduleLogger.info("Kernel: %s (%s) for %s" % os.uname()[2:])
40 _moduleLogger.info("Hostname: %s" % os.uname()[1])
42 mormonchannel_gtk.run()