gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: exporting PYTHONPATH to


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: exporting PYTHONPATH to run tests
Date: Wed, 27 Dec 2017 10:26:24 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new d12ec88  exporting PYTHONPATH to run tests
d12ec88 is described below

commit d12ec88c3f17d9a0b67b8997b55680378b686f76
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Dec 27 10:25:58 2017 +0100

    exporting PYTHONPATH to run tests
---
 Makefile.am  | 7 +++++--
 configure.ac | 3 +++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e844785..d108fef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,10 +36,13 @@ env:
          TALER_CONFIG_FILE="bank-check.conf" && bash
 FMT="\n\n%s\n%s\n"
 SEPARATOR=`printf "%s%s" \
-          "----------------------------------------------" \
-          "------------------------"` 
+  "----------------------------------------------" \
+  "------------------------"`
+PYTHONPATH_FOR_TESTS=`printf "%s"` \
+  "@prefix@/lib/address@hidden@/site-packages"
 
 check:
+       @export PYTHONPATH="${PYTHONPATH_FOR_TESTS}:${PYTHONPATH}"
        @export DJANGO_SETTINGS_MODULE="talerbank.settings" \
          TALER_PREFIX="@prefix@" \
          TALER_CONFIG_FILE="bank-check.conf" \
diff --git a/configure.ac b/configure.ac
index a22226f..4904365 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,9 @@ PC_INIT([3.4])
 pyheaders=0
 PC_PYTHON_CHECK_HEADERS([pyheaders=1])
 
+# Get Python version
+PC_PYTHON_CHECK_VERSION()
+
 #
 # Check for pip3
 #

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]