bugfix setup
This commit is contained in:
parent
2eb30e732d
commit
94fac1076a
@ -12,9 +12,10 @@ dll_path = [curr_dir]
|
||||
|
||||
if os.name == 'nt':
|
||||
if platform.architecture()[0] == '64bit':
|
||||
dll_path.append(os.path.join(curr_dir, '../windows/Release/'))
|
||||
else:
|
||||
dll_path.append(os.path.join(curr_dir, '../windows/x64/Release/'))
|
||||
else:
|
||||
dll_path.append(os.path.join(curr_dir, '../windows/Release/'))
|
||||
|
||||
|
||||
if os.name == 'nt':
|
||||
dll_path = [os.path.join(p, 'xgboost_wrapper.dll') for p in dll_path]
|
||||
|
||||
@ -43,10 +43,9 @@ def load_xglib():
|
||||
dll_path = [curr_path]
|
||||
if os.name == 'nt':
|
||||
if platform.architecture()[0] == '64bit':
|
||||
dll_path.append(os.path.join(curr_dir, '../windows/Release/'))
|
||||
dll_path.append(os.path.join(curr_path, '../windows/x64/Release/'))
|
||||
else:
|
||||
dll_path.append(os.path.join(curr_dir, '../windows/x64/Release/'))
|
||||
|
||||
dll_path.append(os.path.join(curr_path, '../windows/Release/'))
|
||||
if os.name == 'nt':
|
||||
dll_path = [os.path.join(p, 'xgboost_wrapper.dll') for p in dll_path]
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user