Skip to content

Commit

Permalink
compatible __version__ for sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
LoannPeurey committed Feb 26, 2024
1 parent 7f4fd5b commit 03f5762
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 @@ -12,7 +12,7 @@
#
import os
import sys
from importlib.metadata import version
from ChildProject import __version__

sys.path.insert(0, os.path.abspath('../../ChildProject/'))

Expand All @@ -24,7 +24,7 @@
author = 'Lucas Gautheron'

# The full version, including alpha/beta/rc tags
release = version('ChildProject')
release = __version__


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

0 comments on commit 03f5762

Please sign in to comment.