1From 1a46082d0889a784037952c4da0cde3822849032 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 28 Jan 2021 18:44:10 -0800
4Subject: [PATCH] setup_build.py: avoid absolute path
5
6Prevent absolute path from ending up in the egg-info SOURCES.txt.
7
8Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803]
9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
12
13---
14 setup_build.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/setup_build.py b/setup_build.py
18index 3c7c7ad..d824bdd 100644
19--- a/setup_build.py
20+++ b/setup_build.py
21@@ -21,7 +21,7 @@ from setup_configure import BuildConfig
22
23
24 def localpath(*args):
25-    return op.abspath(op.join(op.dirname(__file__), *args))
26+    return op.join(*args)
27
28
29 MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z',
30