Set copyright date automatically

This commit is contained in:
Richard Berger
2021-06-03 14:18:20 -04:00
parent 2b012f4af7
commit 6fb6980987

View File

@ -15,6 +15,7 @@
import sys
import os
from datetime import date
has_enchant = False
try:
@ -76,7 +77,7 @@ master_doc = 'Manual'
# General information about the project.
project = 'LAMMPS'
copyright = '2003-2021 Sandia Corporation'
copyright = '2003-{} Sandia Corporation'.format(date.today().year)
def get_lammps_version():
import os