We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078bae6 commit e17bc4dCopy full SHA for e17bc4d
source/conf.py
@@ -2,7 +2,7 @@
2
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
3
4
import os
5
-from datetime import date
+import time
6
7
# Some options are only enabled for the main packaging.python.org deployment builds
8
RTD_BUILD = bool(os.getenv("READTHEDOCS"))
@@ -13,9 +13,9 @@
13
)
14
15
project = "Python Packaging User Guide"
16
-
17
-copyright = f"2013–{date.today().year}, PyPA"
18
author = "Python Packaging Authority"
+cur_year = time.strfime("%Y")
+copyright = f"{cur_year}, {author}"
19
20
# -- General configuration -------------------------------------------------------------
21
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
0 commit comments