Skip to content

Commit

Permalink
Add examples target for optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 5, 2024
1 parent 29eb2d0 commit 25f7d10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
sudo apt update
sudo apt install -y graphviz r-base
pip install .[test,excel]
pip install .[examples]
- name: Run example
run: |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ dynamic = ["version"] # Version is read from rhodium/__init__.py
"Bug Tracker" = "https://github.com/Project-Platypus/Rhodium/issues"

[project.optional-dependencies]
test = ["pytest", "mock", "pyper<=1.1.2"]
test = ["pytest", "mock", "rhodium[examples]"]
openmdao = ["openmdao"]
excel = ["pandas[excel]"]
examples = ["pandas[excel]", "images2gif", "pyper<=1.1.2"]

[tool.setuptools.dynamic]
version = {attr = "rhodium.__version__"}
Expand Down

0 comments on commit 25f7d10

Please sign in to comment.