blob: a4978b2aec4a4089257eb0b83e3e06c6c23ce0d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff --git a/python-package/setup.py b/python-package/setup.py
index e1433af05..3fa20467d 100644
--- a/python-package/setup.py
+++ b/python-package/setup.py
@@ -283,7 +283,6 @@ if __name__ == '__main__':
cmdclass={
'build_ext': BuildExt,
'sdist': Sdist,
- 'install_lib': InstallLib,
'install': Install
},
extras_require={
diff --git a/python-package/xgboost/libpath.py b/python-package/xgboost/libpath.py
index 65f7403e6..67390a6bd 100644
--- a/python-package/xgboost/libpath.py
+++ b/python-package/xgboost/libpath.py
@@ -20,6 +20,7 @@ def find_lib_path():
"""
curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__)))
dll_path = [
+ '/usr/lib',
# normal, after installation `lib` is copied into Python package tree.
os.path.join(curr_path, 'lib'),
# editable installation, no copying is performed.
|