python312Packages.petsc4py: fix python installLibPath

qbisi 27127eb4 79086fad

+1 -1
+1 -1
pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch
··· 7 def Install(self): 8 import os 9 - installLibPath = os.path.join(self.installDir, 'lib') 10 - + installLibPath = os.path.join(self.installDir, 'lib', '@PYTHON_SITEPACKAGES@') 11 if self.setCompilers.isDarwin(self.log): 12 apple = 'You may need to\n (csh/tcsh) setenv MACOSX_DEPLOYMENT_TARGET 10.X\n (sh/bash) MACOSX_DEPLOYMENT_TARGET=10.X; export MACOSX_DEPLOYMENT_TARGET\nbefore running make on PETSc' 13 else:
··· 7 def Install(self): 8 import os 9 - installLibPath = os.path.join(self.installDir, 'lib') 10 + + installLibPath = os.path.join(self.installDir, '@PYTHON_SITEPACKAGES@') 11 if self.setCompilers.isDarwin(self.log): 12 apple = 'You may need to\n (csh/tcsh) setenv MACOSX_DEPLOYMENT_TARGET 10.X\n (sh/bash) MACOSX_DEPLOYMENT_TARGET=10.X; export MACOSX_DEPLOYMENT_TARGET\nbefore running make on PETSc' 13 else: