Skip to content

Commit

Permalink
Fix subpackage install and docs build (#175)
Browse files Browse the repository at this point in the history
* Include pyadjoint subpackage in pyproject.toml
  • Loading branch information
connorjward authored Nov 12, 2024
1 parent 9fbb0b1 commit 167619a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: |
python -m pip install -e '.[doc]'
python3 -m pip install '.[doc]'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ visualisation = ["tensorflow", "protobuf", "networkx", "pygraphviz"]


[tool.setuptools]
packages = ["firedrake_adjoint", "numpy_adjoint", "pyadjoint"]
packages = ["firedrake_adjoint", "numpy_adjoint", "pyadjoint", "pyadjoint.optimization"]

0 comments on commit 167619a

Please sign in to comment.