Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update conf.py automatically keep copyright date the current year #1762

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import os
from datetime import date

# Some options are only enabled for the main packaging.python.org deployment builds
RTD_BUILD = bool(os.getenv("READTHEDOCS"))
Expand All @@ -13,7 +14,7 @@

project = "Python Packaging User Guide"

copyright = "2013–2020, PyPA"
copyright = f"2013–{date.today().year}, PyPA"
author = "Python Packaging Authority"

# -- General configuration -------------------------------------------------------------
Expand Down
Loading