blob: 0b8555734a616c1bfc337b318668b42f3b2490df [file] [log] [blame]
Andrew Geisslere34f8962021-04-15 15:53:51 -05001From 6f8cee826ef9309c174aa97cb6af2ba532ed9dba Mon Sep 17 00:00:00 2001
Andrew Geisslerac970dd2021-02-12 15:32:45 -06002From: Mingli Yu <mingli.yu@windriver.com>
Andrew Geissler97771a32021-03-05 15:23:11 -06003Date: Thu, 28 Jan 2021 18:44:10 -0800
Andrew Geisslerac970dd2021-02-12 15:32:45 -06004Subject: [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>
Andrew Geissler97771a32021-03-05 15:23:11 -060011Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
12
Andrew Geisslerac970dd2021-02-12 15:32:45 -060013---
14 setup_build.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/setup_build.py b/setup_build.py
Andrew Geisslere34f8962021-04-15 15:53:51 -050018index 78c6677..64db7f7 100644
Andrew Geisslerac970dd2021-02-12 15:32:45 -060019--- a/setup_build.py
20+++ b/setup_build.py
Andrew Geissler97771a32021-03-05 15:23:11 -060021@@ -21,7 +21,7 @@ from setup_configure import BuildConfig
Andrew Geisslerac970dd2021-02-12 15:32:45 -060022
23
24 def localpath(*args):
25- return op.abspath(op.join(op.dirname(__file__), *args))
26+ return op.join(*args)
27
28
Andrew Geissler97771a32021-03-05 15:23:11 -060029 MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z',