You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/03/06 19:26:00 UTC
[arrow] branch master updated: Better error message if lib cannot
be found. (#1712)
This is an automated email from the ASF dual-hosted git repository.
uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new d37d3cd Better error message if lib cannot be found. (#1712)
d37d3cd is described below
commit d37d3cd8368a66a174d822ee69e58b5455cd5cb3
Author: Mitar <mi...@tnode.com>
AuthorDate: Tue Mar 6 11:25:58 2018 -0800
Better error message if lib cannot be found. (#1712)
---
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
uwe@apache.org.