python312Packages.mpi4py: convert dependency mpi to python module
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
cython,
|
||||
setuptools,
|
||||
mpi,
|
||||
toPythonModule,
|
||||
pytestCheckHook,
|
||||
mpiCheckPhaseHook,
|
||||
}:
|
||||
@@ -31,7 +32,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
mpi
|
||||
# Use toPythonModule so that also the mpi executables will be propagated to
|
||||
# generated Python environment.
|
||||
(toPythonModule mpi)
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mpi4py" ];
|
||||
|
||||
Reference in New Issue
Block a user