"tests/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "e04a8bb4deb8c92ec16c93a29a32596ea5e158f3"
Commit c04830a8 authored by Guolin Ke's avatar Guolin Ke
Browse files

fix lib path

parent b8d9372e
...@@ -24,8 +24,9 @@ def find_lib_path(): ...@@ -24,8 +24,9 @@ def find_lib_path():
""" """
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
dll_path = [curr_path, os.path.join(curr_path, '../../lib/'), dll_path = [curr_path, os.path.join(curr_path, '../../lib/'),
os.path.join(curr_path, './lib/'), os.path.join(curr_path, '../../'),
os.path.join(sys.prefix, 'lightgbm')] os.path.join(curr_path, './lib/'),
os.path.join(sys.prefix, 'lightgbm')]
if os.name == 'nt': if os.name == 'nt':
dll_path.append(os.path.join(curr_path, '../../windows/x64/Dll/')) dll_path.append(os.path.join(curr_path, '../../windows/x64/Dll/'))
dll_path.append(os.path.join(curr_path, './windows/x64/Dll/')) dll_path.append(os.path.join(curr_path, './windows/x64/Dll/'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment