Skip to content

Commit

Permalink
Add dev optional dependency and add docs support to devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jan 9, 2025
1 parent 6bb61c8 commit b9268d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# update pip
pip install --upgrade pip

# install pre-release of quarto for docs
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.7.7/quarto-1.7.7-linux-amd64.deb -O quarto.deb && \
sudo dpkg -i quarto.deb && \
rm quarto.deb

# install dev packages
pip install -e ".[test,teachable,lmm,retrievechat,mathchat,blendsearch]"
pip install -e ".[dev]"

# install pre-commit hook if not installed already
pre-commit install
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,19 @@ test = [
"fastapi>=0.115.0,<1",
]

docs = [
"pydoc-markdown",
"pyyaml",
"termcolor",
"nbclient",
]

dev = [
"pyautogen[test]",
"pyautogen[docs]",
"pyautogen[types]",
]

[project.urls]
Homepage = "https://ag2.ai/"
Documentation = "https://docs.ag2.ai/docs/Home"
Expand Down

0 comments on commit b9268d8

Please sign in to comment.