summaryrefslogtreecommitdiff
path: root/debian/patches/0007-Move-towards-reproducible-builds.patch
blob: 4c487babe611e3466c92fdcc74b8bddc51bba414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Gard Spreemann <gspr@nonempty.org>
Date: Tue, 10 Dec 2019 14:31:47 +0100
Subject: Move towards reproducible builds.

This probably does not take us all the way there, and probably breaks
doctest, but since we're not doing sphinx stuff yet anyway, that is ok
for now.
---
 src/python/gudhi/__init__.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python/gudhi/__init__.py.in b/src/python/gudhi/__init__.py.in
index 28bab0e..e22dde4 100644
--- a/src/python/gudhi/__init__.py.in
+++ b/src/python/gudhi/__init__.py.in
@@ -15,7 +15,7 @@ __copyright__ = "Copyright (C) 2016 Inria"
 __license__ = "https://gudhi.inria.fr/licensing/"
 __version__ = "@GUDHI_VERSION@"
 # This variable is used by doctest to find files
-__root_source_dir__ = "@CMAKE_SOURCE_DIR@"
+__root_source_dir__ = "."
 __debug_info__ = @GUDHI_PYTHON_DEBUG_INFO@
 
 from sys import exc_info