Skip to content

Commit

Permalink
Get release version from importlib for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhannah committed Dec 26, 2024
1 parent f8291e5 commit d4d6798
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import importlib.metadata
import os
import sys

project = "budge"
copyright = "2024, Jesse Brooklyn Hannah"
author = "Jesse Brooklyn Hannah"
release = "0.7.0.dev0"
release = importlib.metadata.version("budge")

sys.path.insert(0, os.path.abspath("../src"))

Expand Down

0 comments on commit d4d6798

Please sign in to comment.