Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-p committed Apr 17, 2024
1 parent 728685d commit 3ebf06c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@
import os
import sys
sys.path.insert(0, os.path.abspath("../../"))
import asteca
__version__ = asteca.__version__
# import asteca
# __version__ = asteca.__version__


with open("../../pyproject.toml", encoding="utf-8") as pyproject_toml:
__version__ = (
next(line for line in pyproject_toml if line.startswith("version"))
.split("=")[1]
.strip("'\"\n ")
)


# -- Project information -----------------------------------------------------
Expand Down

0 comments on commit 3ebf06c

Please sign in to comment.