From 59d1cc34739a18a32d3250973af2357c41d8d156 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu Signed-off-by: Leon Anavi --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py index a041fa6..4d44215 100644 --- a/setup_build.py +++ b/setup_build.py @@ -20,7 +20,7 @@ from setup_configure import BuildConfig def localpath(*args): - return op.abspath(op.join(op.dirname(__file__), *args)) + return op.join(*args) MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z',