Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nbouziani committed Jan 20, 2024
1 parent 6f399ae commit 7402258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import sys

#import petsc4py
import numpy as np

from pathlib import Path
Expand Down Expand Up @@ -35,7 +34,7 @@ def get_petsc_dir():
petsc_dirs = get_petsc_dir()
if os.environ.get("HDF5_DIR"):
petsc_dirs = petsc_dirs + (os.environ.get("HDF5_DIR"), )
include_dirs = [np.get_include()) #, petsc4py.get_include()]
include_dirs = [np.get_include()] # , petsc4py.get_include()]
include_dirs += ["%s/include" % d for d in petsc_dirs]
dirs = (sys.prefix, *petsc_dirs)
link_args = ["-L%s/lib" % d for d in dirs] + ["-Wl,-rpath,%s/lib" % d for d in dirs]
Expand Down

0 comments on commit 7402258

Please sign in to comment.