diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 6dc9948..1412581 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,7 +13,7 @@ build: jobs: pre_build: # Generate the Sphinx configuration for this Jupyter Book so it builds. - - "pip install -r docs/requirements.txt" + - "pip install -e '.[docs]'" - "mkdocs build" mkdocs: diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index a396279..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -mkdocs-material -mkdocs-material[imaging] -mkdocs-include-markdown-plugin \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d04a9e0..82b4c5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,9 @@ dependencies = [ "pydantic-settings==2.0.3", "pydub==0.25.1", "rich==13.6.0", + "transformers==4.34.0", "typer==0.9.0", - "yarl==1.9.2", + "yarl==1.9.2" ] [project.optional-dependencies] @@ -42,6 +43,12 @@ test = [ # other test dependencies ] +docs = [ + "mkdocs-material", + "mkdocs-material[imaging]", + "mkdocs-include-markdown-plugin" +] + [project.urls] bugs = "https://github.com/audreyfeldroy/historyaitoolkit/issues" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index ab2b800..0000000 --- a/requirements.txt +++ /dev/null @@ -1,14 +0,0 @@ -clarifai_grpc==9.9.1 -openai-whisper==20230918 -yarl==1.9.2 -typer==0.9.0 -rich==13.6.0 -pydantic==2.4.2 -pathlib==1.0.1 -pydantic-settings==2.0.3 -pydub==0.25.1 -ruff==0.0.292 -pre-commit==3.4.0 -transformers==4.34.0 -coverage==7.3.2 -