summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-09-30 15:14:24 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-09-30 15:14:24 +0000
commit15ed1db3d69ba1f892f4df4b60d2b7e9add377ce (patch)
treee2f38666af073cf02c50a2a89d46f01d33ddf4be
parentbb75efb20746ffe868f9950dd1c2313ccacb76dd (diff)
downloadqpid-python-15ed1db3d69ba1f892f4df4b60d2b7e9add377ce.tar.gz
QPID-5189: Created config.sh for Qpid Dispatch
The file sets or updates the PYTHONPATH to include the path to the Python modules for Qpid Dispatch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527608 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/extras/dispatch/config.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/qpid/extras/dispatch/config.sh b/qpid/extras/dispatch/config.sh
new file mode 100644
index 0000000000..0f5f77e549
--- /dev/null
+++ b/qpid/extras/dispatch/config.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+cd $(dirname ${BASH_SOURCE[0]}) > /dev/null
+export QPID_DISPATCH_HOME=$(pwd)
+cd - > /dev/null
+
+export PYTHONPATH=$PYTHONPATH:$QPID_DISPATCH_HOME/python
+