Self-updating copyright year in docs

This commit is contained in:
Daniele Varrazzo 2014-08-24 23:07:22 +01:00
parent c1da93a7b2
commit 4a4e0d8f9a

View File

@ -42,7 +42,9 @@ master_doc = 'index'
# General information about the project.
project = u'Psycopg'
copyright = u'2001-2013, Federico Di Gregorio. Documentation by Daniele Varrazzo'
from datetime import date
year = date.today().year
copyright = u'2001-%s, Federico Di Gregorio, Daniele Varrazzo' % year
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the