Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtdak committed Jul 5, 2008
1 parent c2be41b commit 924dfc6
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README
@@ -1,12 +1,25 @@
Unpack this directory into your PYTHONPATH. Install with: Unpack this directory into your PYTHONPATH.

test with:

trial --reactor=qt4 twisted (or twisted.test or twisted.test.test_internet)

If you're using Qt 4.4 and the newer versions of twisted, I've been using:

trial --reactor=qt4 --without-module gtk2reactor --recursionlimit=2000
twisted 2>&1 | tee trial.out

particularly on a 64 bit OS... I have no idea why the recursion limit matters more on 64 bit machines... maybe there's deeper to go so it does :-)

= Using the Qt4Reactor =

In your own code, BEFORE you import the reactor...


app = QApplication(sys.argv) app = QApplication(sys.argv)
import qt4reactor import qt4reactor
qt4reactor.install() qt4reactor.install()


test with: = Gui =

trial --reactor=qt4 twisted (or twisted.test or twisted.test.test_internet)


There is a way to run trial using a gui... in bin, there is a routine There is a way to run trial using a gui... in bin, there is a routine
gtrial. Put that in the same directory as trial and it pops up a gtrial. Put that in the same directory as trial and it pops up a
Expand Down

0 comments on commit 924dfc6

Please sign in to comment.