()
| 19 | |
| 20 | |
| 21 | def 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 | |
| 31 | def copy_files(use_gpu=False): |