Merge pull request #3476 from avirlrma/master
change doc copyright year to range and auto update year
This commit is contained in:
commit
5edad01d4e
1
AUTHORS
1
AUTHORS
|
@ -22,6 +22,7 @@ Antony Lee
|
|||
Armin Rigo
|
||||
Aron Coyle
|
||||
Aron Curzon
|
||||
Aviral Verma
|
||||
Aviv Palivoda
|
||||
Barney Gale
|
||||
Ben Webb
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Change documentation copyright year to a range which auto-updates itself each time it is published.
|
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue