Ejemplo n.º 1
0
"""Defines the kernel sub-package
"""
import dlopen
flags = dlopen.setup_dlopen() # Ensure the library is open with the correct flags
from _kernel import *
dlopen.restore_flags(flags)
Ejemplo n.º 2
0
"""
kernel
=============

Defines Python objects that wrap the C++ Kernel namespace.

"""

###############################################################################
# Loads the C library with the correct flags
###############################################################################
import dlopen as _pydlopen
import os as _os
clib = _os.path.join(_os.path.dirname(__file__), '_kernel.so')
flags = _pydlopen.setup_dlopen(clib, ['libMantidKernel']) 
from _kernel import *
_pydlopen.restore_flags(flags)
###############################################################################

###############################################################################
# Do any site-specific setup for packages
###############################################################################
import packagesetup as _packagesetup

###############################################################################
# Make modules available in this namespace
###############################################################################
import environment
import funcreturns
from _aliases import *