update copyright notice

This commit is contained in:
Radovan Bast
2016-04-18 16:53:37 +02:00
parent d6f552ce3e
commit 95042c02ba
4 changed files with 7 additions and 10 deletions

View File

@ -6,6 +6,8 @@ import datetime
import ast
import collections
__version__ = 'X.Y.Z'
# we do not use the nicer sys.version_info.major
# for compatibility with Python < 2.7
if sys.version_info[0] > 2:
@ -119,8 +121,8 @@ def autogenerated_notice():
current_year = datetime.date.today().year
year_range = '2015-{0}'.format(current_year)
s = []
s.append('# This file is autogenerated by Autocmake http://autocmake.org')
s.append('# Copyright (c) {0} by Radovan Bast and Jonas Juselius'.format(year_range))
s.append('# This file is autogenerated by Autocmake v{0} http://autocmake.org'.format(__version__))
s.append('# Copyright (c) {0} by Radovan Bast, Jonas Juselius, and contributors.'.format(year_range))
return '\n'.join(s)
# ------------------------------------------------------------------------------