Skip to content
Merged
Show file tree
Hide file tree
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
Prev Previous commit
Next Next commit
Remove patchlevel
  • Loading branch information
AA-Turner committed Oct 2, 2024
commit 9c180811a9ccca4827f976cbe50d54569e0cbab6
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,7 @@
project = 'Python'
copyright = f"2001-{time.strftime('%Y')}, Python Software Foundation"

# We look for the Include/patchlevel.h file in the current Python source tree
# and replace the values accordingly.
# See Doc/tools/extensions/patchlevel.py
#
# version, release = importlib.import_module('patchlevel').get_version_info()

version, release = sys.version.split()[0], ""
version = release = sys.version.split(" ", 1)[0]

rst_epilog = f"""
.. |python_version_literal| replace:: ``Python {version}``
Expand Down

This file was deleted.