diff --git a/docs/conf.py b/docs/conf.py index 0703390..a55eca7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -6,8 +6,8 @@ # -- Path setup -------------------------------------------------------------- +import importlib.metadata import os -import pkg_resources # -- Project information ----------------------------------------------------- @@ -16,7 +16,7 @@ author = "Dustin Spicuzza" # The full version, including alpha/beta/rc tags -release = pkg_resources.get_distribution("cxxheaderparser").version +release = importlib.metadata.version("cxxheaderparser") # -- General configuration ---------------------------------------------------