diff --git a/docs/source/conf.py b/docs/source/conf.py index 271861e..bb16a9a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,7 +21,12 @@ import sys import re -from setuptools.config import read_configuration + +try: + from setuptools.config.setupcfg import read_configuration +except ModuleNotFoundError: + from setuptools.config import read_configuration + sys.path.insert(0, os.path.abspath('../..')) # metadata = dict()