You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/boost/files/boost-1.73-boost-mpi-python...

18 lines
396 B

--- a/libs/mpi/build/__init__.py
+++ b/libs/mpi/build/__init__.py
@@ -1,10 +1,12 @@
+from __future__ import absolute_import
+
import sys
if sys.platform == 'linux2':
import DLFCN as dl
flags = sys.getdlopenflags()
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
- import mpi
+ from . import mpi
sys.setdlopenflags(flags)
else:
- import mpi
+ from . import mpi