Skip to content

Commit

Permalink
docs: Replace pkg_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Nov 3, 2023
1 parent 61e7e8d commit 8886303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import os
import shlex

import pkg_resources
dist = pkg_resources.get_distribution("orange-canvas-core")
import importlib_metadata
dist = importlib_metadata.distribution("orange-canvas-core")

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down

0 comments on commit 8886303

Please sign in to comment.