Print current year automatically.

This commit is contained in:
Berker Peksag 2015-01-30 22:29:33 +02:00
parent 5028e8a534
commit e79900b465

View File

@ -2,7 +2,10 @@
# #
# Gunicorn documentation build configuration file # Gunicorn documentation build configuration file
# #
import sys, os
import os
import sys
import time
DOCS_DIR = os.path.abspath(os.path.dirname(__file__)) DOCS_DIR = os.path.abspath(os.path.dirname(__file__))
@ -19,7 +22,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = u'Gunicorn' project = u'Gunicorn'
copyright = u'2009-2015, Benoit Chesneau' copyright = u'2009-%s, Benoit Chesneau' % time.strftime('%Y')
# gunicorn version # gunicorn version
import gunicorn import gunicorn
release = version = gunicorn.__version__ release = version = gunicorn.__version__