diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-11-22 16:38:34 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-11-22 16:38:34 +0000 |
commit | 083faf509fbe8773630a9a1ff5030be62d3e5f62 (patch) | |
tree | 43aae87215949f891b8d8a37428157c16f8ee312 /python | |
parent | 0f86c796ccb052fa6c5f807f480a1feabec643f8 (diff) | |
download | qpid-python-083faf509fbe8773630a9a1ff5030be62d3e5f62.tar.gz |
Corrected instructions for running Python clients - now matches 0.8 distribution.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r-- | python/README.txt | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/python/README.txt b/python/README.txt index 772271cffe..6428446566 100644 --- a/python/README.txt +++ b/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 = |