This is an automated email from the ASF dual-hosted git repository. wesm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/arrow.git
commit 5f8a7934dde092a67798f0185dc500923e3dc8da Author: Mitar <mitar.git...@tnode.com> AuthorDate: Tue Mar 6 11:25:58 2018 -0800 ARROW-2279: [Python] Better error message if lib cannot be found Change-Id: I82e6b51fa5129473815e19fd6d03bdaaef7a88ff --- python/setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/setup.py b/python/setup.py index ddf7cc5..f3521f2 100644 --- a/python/setup.py +++ b/python/setup.py @@ -381,6 +381,10 @@ def _move_shared_libs_unix(build_prefix, build_lib, lib_name): else: libs = glob.glob(pjoin(build_prefix, lib_filename) + '*') + if not libs: + raise Exception('Could not find library:' + lib_filename + + ' in ' + build_prefix) + # Longest suffix library should be copied, all others symlinked libs.sort(key=lambda s: -len(s)) print(libs, libs[0]) -- To stop receiving notification emails like this one, please contact w...@apache.org.