Skip to content

Commit 167619a

Browse files
authored
Fix subpackage install and docs build (#175)
* Include pyadjoint subpackage in pyproject.toml
1 parent 9fbb0b1 commit 167619a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/docs.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v3
32+
- name: Setup Python
33+
uses: actions/setup-python@v4
34+
with:
35+
python-version: "3.10"
3236
- name: Install
3337
run: |
34-
python -m pip install -e '.[doc]'
38+
python3 -m pip install '.[doc]'
3539
- name: Setup Pages
3640
id: pages
3741
uses: actions/configure-pages@v3

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ visualisation = ["tensorflow", "protobuf", "networkx", "pygraphviz"]
4646

4747

4848
[tool.setuptools]
49-
packages = ["firedrake_adjoint", "numpy_adjoint", "pyadjoint"]
49+
packages = ["firedrake_adjoint", "numpy_adjoint", "pyadjoint", "pyadjoint.optimization"]

0 commit comments

Comments
 (0)