Skip to content

Commit

Permalink
remove setuptools requirements from building sphinx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 21, 2024
1 parent b4deb93 commit fbd4499
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,9 @@
import tomllib
import re

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()
# metadata_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), '../../hathizip', '__version__.py')
# with open(metadata_file, 'r', encoding='utf-8') as f:
# exec(f.read(), metadata)

def get_project_metadata():
path = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../pyproject.toml"))
with open(path, "rb") as f:
Expand Down

0 comments on commit fbd4499

Please sign in to comment.