diff --git a/source/conf.py b/source/conf.py index f08f6e836..e0ef4b968 100644 --- a/source/conf.py +++ b/source/conf.py @@ -2,6 +2,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information import os +from time import strftime # Some options are only enabled for the main packaging.python.org deployment builds RTD_BUILD = bool(os.getenv("READTHEDOCS")) @@ -12,9 +13,9 @@ ) project = "Python Packaging User Guide" - -copyright = "2013–2020, PyPA" author = "Python Packaging Authority" +cur_year = strftime("%Y") +copyright = f"{cur_year}, {author}" # -- General configuration ------------------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration