From cebd2cc0481128573c87d466652ca93f1d8733ea Mon Sep 17 00:00:00 2001 From: csunny Date: Thu, 25 May 2023 15:17:24 +0800 Subject: [PATCH] docs: fix --- docs/conf.py | 8 ++------ pyproject.toml | 49 ------------------------------------------------- 2 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 pyproject.toml diff --git a/docs/conf.py b/docs/conf.py index ba156d994..d077367db 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,12 +12,8 @@ project = "DB-GPT" copyright = "2023, csunny" author = "csunny" -with open("../pyproject.toml") as f: - data = toml.load(f) - -version = data["tool"]["poetry"]["version"] -release = version -html_title = project + " " + version +release = "0.0.6" +html_title = project + " " + release # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 12834cedd..000000000 --- a/pyproject.toml +++ /dev/null @@ -1,49 +0,0 @@ -[tool.poetry] -name = "db-gpt" -version = "0.0.6" -description = "Interact with your data and environment privately" -authors = [] -readme = "README.md" -license = "MIT" -packages = [{include = "db_gpt"}] -repository = "https://www.github.com/csunny/DB-GPT" - -[tool.poetry.dependencies] -python = "^3.10" -accelerate = "^0.16" - - -[tool.poetry.group.docs.dependencies] -autodoc_pydantic = "^1.8.0" -myst_parser = "^0.18.1" -nbsphinx = "^0.8.9" -sphinx = "^4.5.0" -sphinx-autobuild = "^2021.3.14" -sphinx_book_theme = "^0.3.3" -sphinx_rtd_theme = "^1.0.0" -sphinx-typlog-theme = "^0.8.0" -sphinx-panels = "^0.6.0" -toml = "^0.10.2" -myst-nb = "^0.17.1" -linkchecker = "^10.2.1" -sphinx-copybutton = "^0.5.1" - -[tool.poetry.group.test.dependencies] -# The only dependencies that should be added are -# dependencies used for running tests (e.g., pytest, freezegun, response). -# Any dependencies that do not meet that criteria will be removed. -pytest = "^7.3.0" -pytest-cov = "^4.0.0" -pytest-dotenv = "^0.5.2" -duckdb-engine = "^0.7.0" -pytest-watcher = "^0.2.6" -freezegun = "^1.2.2" -responses = "^0.22.0" -pytest-asyncio = "^0.20.3" -lark = "^1.1.5" -pytest-mock = "^3.10.0" -pytest-socket = "^0.6.0" - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api"