18 from .
import pyaligator
21 submodules = inspect.getmembers(pyaligator, inspect.ismodule)
22 for mod_info
in submodules:
23 mod_name =
"{}.{}".format(lib_name, mod_info[0])
24 sys.modules[mod_name] = mod_info[1]
25 mod_info[1].__file__ = pyaligator.__file__
26 mod_info[1].__name__ = mod_name
27 sys.modules[
"{}.manifolds".format(lib_name)] = manifolds
28 sys.modules[
"{}.constraints".format(lib_name)] = constraints