[med-svn] [manta] 02/02: Use wrappers to enable setting PYTHONPATH apropriately

Andreas Tille tille at debian.org
Tue May 2 09:05:12 UTC 2017


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

tille pushed a commit to branch master
in repository manta.

commit 78a51342ad57f2650a20cac9a44d89ea109995b1
Author: Andreas Tille <tille at debian.org>
Date:   Tue May 2 11:04:45 2017 +0200

    Use wrappers to enable setting PYTHONPATH apropriately
---
 debian/bin/configManta          | 8 ++++++++
 debian/bin/runMantaWorkflowDemo | 1 +
 2 files changed, 9 insertions(+)

diff --git a/debian/bin/configManta b/debian/bin/configManta
new file mode 100644
index 0000000..c5c3399
--- /dev/null
+++ b/debian/bin/configManta
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+MANTAPATH=/usr/share/manta/
+
+export PYTHONPATH=$PYTHONPATH:$MANTAPATH
+exe=`basename $0`
+
+python $MANTAPATH/${exe}.py
diff --git a/debian/bin/runMantaWorkflowDemo b/debian/bin/runMantaWorkflowDemo
new file mode 120000
index 0000000..442aedf
--- /dev/null
+++ b/debian/bin/runMantaWorkflowDemo
@@ -0,0 +1 @@
+configManta
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/manta.git



More information about the debian-med-commit mailing list