change doc copyright year to range and auto update year

This commit is contained in:
aviral1701 2018-05-15 12:48:04 +05:30
parent 36614b0a3d
commit a59f677d93
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@
import os
import sys
import datetime
from _pytest import __version__ as version
@ -57,7 +58,8 @@ master_doc = 'contents'
# General information about the project.
project = u'pytest'
copyright = u'2015, holger krekel and pytest-dev team'
year = datetime.datetime.utcnow().year
copyright = u'2015{} , holger krekel and pytest-dev team'.format(year)