2Copyright (C) 2022 LAAS-CNRS, INRIA
16 from .pyproxsuite_nlp
import *
17 from .pyproxsuite_nlp
import __version__
21 if platform.system() ==
"Windows":
22 from .windows_dll_manager
import get_dll_paths, build_directory_manager
24 with build_directory_manager()
as dll_dir_manager:
25 for p
in get_dll_paths():
26 dll_dir_manager.add_dll_directory(p)
27 from .pyproxsuite_nlp
import *
28 from .pyproxsuite_nlp
import __version__
38 from .
import pyproxsuite_nlp
40 lib_name =
"proxsuite_nlp"
42 submodules = inspect.getmembers(pyproxsuite_nlp, inspect.ismodule)
43 for mod_info
in submodules:
44 mod_name =
"{}.{}".format(lib_name, mod_info[0])
45 sys.modules[mod_name] = mod_info[1]
46 mod_info[1].__file__ = pyproxsuite_nlp.__file__
47 mod_info[1].__name__ = mod_name