MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / find_lib

Function find_lib

python-package/setup.py:21–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def find_lib():
22 libpath_py = os.path.join(CURRENT_DIR, 'lightgbmmt', 'libpath.py')
23 libpath = {'__file__': libpath_py}
24 exec(compile(open(libpath_py, "rb").read(), libpath_py, 'exec'), libpath, libpath)
25
26 LIB_PATH = [os.path.relpath(path, CURRENT_DIR) for path in libpath['find_lib_path']()]
27 logger.info("Installing lib_lightgbm from: %s" % LIB_PATH)
28 return LIB_PATH
29
30
31def copy_files(use_gpu=False):

Callers 1

installMethod · 0.85

Calls 2

joinMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected