add author information to __init__.py

This commit is contained in:
oz123 2013-08-29 13:36:47 +02:00 committed by Nico Schottelius
parent 2ac0d937b1
commit 0d27fb60cb

View file

@ -1,37 +1,39 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 2012 Nico Schottelius (nico-ctt at schottelius.org) # 2012 Nico Schottelius (nico-ctt at schottelius.org)
# #
# This file is part of ctt. # This file is part of ctt.
# #
# ctt is free software: you can redistribute it and/or modify # ctt is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# ctt is distributed in the hope that it will be useful, # ctt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with ctt. If not, see <http://www.gnu.org/licenses/>. # along with ctt. If not, see <http://www.gnu.org/licenses/>.
# #
# #
import os import os
import os.path import os.path
VERSION = "0.9" VERSION = "0.9"
FILE_DELTA = "delta" FILE_DELTA = "delta"
FILE_COMMENT = "comment" FILE_COMMENT = "comment"
DATEFORMAT = "%Y-%m-%d" DATEFORMAT = "%Y-%m-%d"
DATEFORMAT_PLAIN= DATEFORMAT.replace("%","") DATEFORMAT_PLAIN = DATEFORMAT.replace("%", "")
DATETIMEFORMAT = "%Y-%m-%d-%H%M" DATETIMEFORMAT = "%Y-%m-%d-%H%M"
DATETIMEFORMAT_PLAIN= DATETIMEFORMAT.replace("%","") DATETIMEFORMAT_PLAIN = DATETIMEFORMAT.replace("%", "")
REPORTFORMAT = "{start_datetime} ({delta}): {comment}" REPORTFORMAT = "{start_datetime} ({delta}): {comment}"
AUTHOR = 'Nico Schottelius'
MAIL = 'nico-ctt at schottelius.org'
WWW = 'http://www.nico.schottelius.org/software/ctt/'
# Name of the folder to create - should not contain special characters # Name of the folder to create - should not contain special characters
# to ensure cross-os compatibility # to ensure cross-os compatibility
DISKFORMAT = DATETIMEFORMAT DISKFORMAT = DATETIMEFORMAT