Harrison/version 0028 (#259)

This commit is contained in:
Harrison Chase
2022-12-04 17:44:40 -08:00
committed by GitHub
parent f5c665a544
commit 5cd6956d58
6 changed files with 22 additions and 11 deletions

View File

@@ -15,7 +15,10 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import langchain
import toml
with open("../pyproject.toml") as f:
data = toml.load(f)
# -- Project information -----------------------------------------------------
@@ -23,8 +26,8 @@ project = "LangChain"
copyright = "2022, Harrison Chase"
author = "Harrison Chase"
version = langchain.__version__
release = langchain.__version__
version = data["tool"]["poetry"]["version"]
release = version
# -- General configuration ---------------------------------------------------

View File

@@ -6,3 +6,4 @@ sphinx-autobuild==2021.3.14
sphinx_rtd_theme==1.0.0
sphinx-typlog-theme==0.8.0
sphinx-panels
toml