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

This 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 3043201..ef6389e 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@
 
 __all__ = [@GUDHI_PYTHON_MODULES@ @GUDHI_PYTHON_MODULES_EXTRA@]