From 95042c02ba62d20f4a42835ecdbf29ac7e7f48fe Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Mon, 18 Apr 2016 16:53:37 +0200 Subject: [PATCH] update copyright notice --- LICENSE | 2 +- doc/conf.py | 4 ++-- lib/config.py | 5 ----- update.py | 6 ++++-- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/LICENSE b/LICENSE index c88e8de..65d6739 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015-2016, Jonas Juselius and Radovan Bast +Copyright (c) 2015-2016 by Radovan Bast, Jonas Juselius, and contributors. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/doc/conf.py b/doc/conf.py index fcdcf21..0166b7c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -52,8 +52,8 @@ master_doc = 'index' # General information about the project. project = u'Autocmake' -copyright = u'2015, Radovan Bast and Jonas Juselius' -author = u'Radovan Bast and Jonas Juselius' +copyright = u'2015-2016, Radovan Bast, Jonas Juselius, and contributors' +author = u'Radovan Bast, Jonas Juselius, and contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/lib/config.py b/lib/config.py index 399f9c3..9ca39b3 100644 --- a/lib/config.py +++ b/lib/config.py @@ -1,8 +1,3 @@ - -# Copyright (c) 2015 by Radovan Bast and Jonas Juselius -# See https://github.com/scisoft/autocmake/blob/master/LICENSE - - import os import sys diff --git a/update.py b/update.py index 85cebcb..8595ef9 100644 --- a/update.py +++ b/update.py @@ -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) # ------------------------------------------------------------------------------