[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-survey] branch master updated: wsgi file
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-survey] branch master updated: wsgi file |
Date: |
Mon, 20 Nov 2017 12:50:06 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository survey.
The following commit(s) were added to refs/heads/master by this push:
new d6d1724 wsgi file
d6d1724 is described below
commit d6d1724427d5c332733c145de559ebc45f4395b2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Nov 20 12:49:54 2017 +0100
wsgi file
---
frontend-survey.wsgi.in | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/frontend-survey.wsgi.in b/frontend-survey.wsgi.in
new file mode 100644
index 0000000..75b3ffe
--- /dev/null
+++ b/frontend-survey.wsgi.in
@@ -0,0 +1,21 @@
+import sys
+
+if sys.version_info.major < 3:
+ print("The taler bank needs to run with Python>=3.4")
+ sys.exit(1)
+
+import site
+import os
+import logging
+
+logging.basicConfig(level=logging.INFO)
+
+os.environ.setdefault("TALER_PREFIX", "@prefix@")
+site.addsitedir("%s/lib/python%d.%d/site-packages" % (
+ "@prefix@",
+ sys.version_info.major,
+ sys.version_info.minor))
+
+import talersurvey.survey
+
+application = talersurvey.survey.app
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-survey] branch master updated: wsgi file,
gnunet <=