Skip to content

Commit

Permalink
docs: do not require setuptools for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Jul 3, 2024
1 parent 6f07349 commit 1b59bf1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@

from __future__ import annotations

# Warning: do not change the path here. To use autodoc, you need to install the
# package first.
from pkg_resources import get_distribution
import importlib.metadata

# -- Project information -----------------------------------------------------

project = "Hist"
copyright = "2020, Henry Schreiner"
author = "Henry Schreiner and Nino Lau"
version = get_distribution("hist").version
version = importlib.metadata.version("hist")


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

0 comments on commit 1b59bf1

Please sign in to comment.