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