mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Automatically create copyright year.
This commit is contained in:
parent
e96174a3c4
commit
a2e71cc4ca
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import datetime
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
@ -13,7 +14,8 @@ source_suffix = '.rst'
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
project = u'vdirsyncer'
|
project = u'vdirsyncer'
|
||||||
copyright = u'2014, Markus Unterwaditzer & contributors'
|
copyright = (u'2014-{}, Markus Unterwaditzer & contributors'
|
||||||
|
.format(datetime.date.today().strftime('%Y')))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue