Make copyright year static. (#49)

Thanks
This commit is contained in:
Tristan Seligmann 2016-08-10 09:19:43 +02:00 committed by Hynek Schlawack
parent 28204bef92
commit a673093da3
1 changed files with 1 additions and 5 deletions

View File

@ -13,7 +13,6 @@
# serve to show the default. # serve to show the default.
import codecs import codecs
import datetime
import os import os
import re import re
@ -80,10 +79,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = u'attrs' project = u'attrs'
year = datetime.date.today().year copyright = u'2015, Hynek Schlawack'
copyright = u'2015{0}, Hynek Schlawack'.format(
u'-{0}'.format(year) if year != 2015 else u""
)
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the