From e050c1ddbeda113e9576f17559c3f792b50f501f Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Mon, 22 Nov 2010 16:38:34 +0000 Subject: Corrected instructions for running Python clients - now matches 0.8 distribution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1037771 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/README.txt | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'qpid/python') diff --git a/qpid/python/README.txt b/qpid/python/README.txt index 772271cffe..6428446566 100644 --- a/qpid/python/README.txt +++ b/qpid/python/README.txt @@ -1,24 +1,23 @@ -= INSTALLATION = += GETTING STARTED = -Extract the release archive into a directory of your choice and set -your PYTHONPATH accordingly: +1. Make sure the Qpid Python client libraries are on your PYTHONPATH: - tar -xzf qpid-python-.tar.gz -C - export PYTHONPATH=/qpid-/python +$ export PYTHONPATH=/home/me/qpid-0.8/python -= GETTING STARTED = +2. Make sure a broker is running -The python client includes a simple hello-world example that publishes -and consumes a message: +3. Run the 'hello' example from qpid-0.8/python/examples/api: + +$ ./hello +Hello world! - cp /qpid-/python/hello-world . - ./hello-world = EXAMPLES = -More comprehensive examples can be found here: +The examples/api directory contains several examples. + +Read examples/README.txt for further details on these examples. - cd /qpid-/python/examples = RUNNING THE TESTS = -- cgit v1.2.1