blob: d748c5a1ddbdb8e3165837f9c2745de945b03d8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- xgboost/libpath.py.orig 2020-05-25 18:09:22 UTC
+++ xgboost/libpath.py
@@ -20,6 +20,8 @@ def find_lib_path():
"""
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
dll_path = [
+ os.getenv('FREEBSD_LIBRARY_PATH'),
+ os.path.join(sys.prefix, 'xgboost'),
# normal, after installation `lib` is copied into Python package tree.
os.path.join(curr_path, 'lib'),
# editable installation, no copying is performed.
|