You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/09/30 17:14:25 UTC

svn commit: r1527608 - /qpid/trunk/qpid/extras/dispatch/config.sh

Author: mcpierce
Date: Mon Sep 30 15:14:24 2013
New Revision: 1527608

URL: http://svn.apache.org/r1527608
Log:
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.

Added:
    qpid/trunk/qpid/extras/dispatch/config.sh

Added: qpid/trunk/qpid/extras/dispatch/config.sh
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/dispatch/config.sh?rev=1527608&view=auto
==============================================================================
--- qpid/trunk/qpid/extras/dispatch/config.sh (added)
+++ qpid/trunk/qpid/extras/dispatch/config.sh Mon Sep 30 15:14:24 2013
@@ -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
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org