Generic long poll server used by Launchpad and Landscape.
Dependencies
By default txlongpoll attempts to build without going to the network; instead it tries to find all dependencies from download-cache/dist, and you must download all the dependencies yourself.
If you prefer to use resources from the ‘net, PyPI for example, then:
Remove the –setup-source and –download-base options in Makefile to allow bootstrap.py to download setuptools.
Comment out the install-from-cache = true line in buildout.cfg to allow bin/buildout to download dependencies.
To run the tests you may also need lp:rabbitfixture (bzr branch lp:rabbitfixture). Build an sdist tarball and drop it into download-cache/dist. You may also need to do the same for testresources-0.2.4_r58 until it reaches PyPI.
txlongpoll needs a recent RabbitMQ with support for rejection. Maverick’s 1.8.0 is not sufficient, but 2.1.1 works fine, so >= Natty is OK.
Building
$ make build
will build only those parts needed to run txlongpoll. No support for tags or testing.
Testing
$ make check
will build all the test-related parts of txlongpoll and then do a full test run, but
$ make bin/test
will just do the first part.
There is testrepository <https://launchpad.net/testrepository> support, so you can also do the following:
$ testr init $ testr run
This is probably the best way to develop txlongpoll.
Running
$ bin/twistd txlongpoll
Release files for txlongpoll 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| txlongpoll-0.3.2.tar.gz | 18.2 kB | Details |
Release files / txlongpoll-0.3.2.tar.gz
| Download URL | txlongpoll-0.3.2.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8f92c653163298ab69f935cb4d5a82be0207fbc41745759eab1166708676842
|
|
BLAKE2b-256 checksum How to use checksums |
52bb2244441208faaf0c006f801a6c7f6a969e7b89febac3a672447e32d0efca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |