Skip to content

Commit

Permalink
Add PETSc to requirements-git.txt (#2065)
Browse files Browse the repository at this point in the history
* Add PETSc to requirements-ext.git

This fixes an install issue where this was removed from PyOP2 in
OP2/PyOP2#617.

* Add petsc4py to packages list

* Move petsc4py location in script

In order for PyOP2 to install it needs to be installed AFTER petsc4py.
  • Loading branch information
connorjward authored May 11, 2021
1 parent aa1647a commit eada709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements-git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ git+https://github.com/FInAT/FInAT.git#egg=finat
git+https://github.com/firedrakeproject/tsfc.git#egg=tsfc
git+https://github.com/OP2/PyOP2.git#egg=pyop2
git+https://github.com/dolfin-adjoint/pyadjoint.git#egg=pyadjoint
git+https://github.com/firedrakeproject/petsc.git@firedrake#egg=petsc
2 changes: 1 addition & 1 deletion scripts/firedrake-install
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ if mode == "install":
run_pip(["install", "lazy-object-proxy==1.4.*"])

packages = clone_dependencies("firedrake")
packages = clone_dependencies("PyOP2") + packages
packages = clone_dependencies("PyOP2") + ["petsc4py"] + packages
packages += ["firedrake"]

for p in options["packages"]:
Expand Down

0 comments on commit eada709

Please sign in to comment.