summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-11-22 16:38:34 +0000
committerJonathan Robie <jonathan@apache.org>2010-11-22 16:38:34 +0000
commite050c1ddbeda113e9576f17559c3f792b50f501f (patch)
treec2f5489c8895f8031b9f77f62b3ac941614e4610 /qpid/python
parentb745e61a847966652d3532460d13582b993d6c72 (diff)
downloadqpid-python-e050c1ddbeda113e9576f17559c3f792b50f501f.tar.gz
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
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/README.txt23
1 files changed, 11 insertions, 12 deletions
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-<version>.tar.gz -C <install-prefix>
- export PYTHONPATH=<install-prefix>/qpid-<version>/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 <install-prefix>/qpid-<version>/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 <install-prefix>/qpid-<version>/python/examples
= RUNNING THE TESTS =