diff options
Diffstat (limited to 'misc/py-xgboost/files/patch-xgboost_libpath.py')
| -rw-r--r-- | misc/py-xgboost/files/patch-xgboost_libpath.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/py-xgboost/files/patch-xgboost_libpath.py b/misc/py-xgboost/files/patch-xgboost_libpath.py index 12916ce3222b..e3f94a08c138 100644 --- a/misc/py-xgboost/files/patch-xgboost_libpath.py +++ b/misc/py-xgboost/files/patch-xgboost_libpath.py @@ -1,14 +1,14 @@ ---- xgboost/libpath.py.orig 2020-10-12 22:10:16 UTC +--- xgboost/libpath.py.orig 2021-04-20 00:31:38 UTC +++ xgboost/libpath.py -@@ -4,6 +4,7 @@ - import os +@@ -5,6 +5,7 @@ import os import platform + from typing import List import sys +import sysconfig # from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247408#c0 class XGBoostLibraryNotFound(Exception): -@@ -20,6 +21,8 @@ def find_lib_path(): +@@ -21,6 +22,8 @@ def find_lib_path() -> List[str]: """ curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) dll_path = [ |
