]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - static/tahoe.py
Eliminate mock dependency.
[tahoe-lafs/tahoe-lafs.git] / static / tahoe.py
1
2 # This checks that we can import the right versions of all dependencies.
3 # Import this first to suppress deprecation warnings.
4 import allmydata
5
6 # nevow requires all these for its voodoo module import time adaptor registrations
7 from nevow import accessors, appserver, static, rend, url, util, query, i18n, flat
8 from nevow import guard, stan, testutil, context
9 from nevow.flat import flatmdom, flatstan, twist
10 from formless import webform, processors, annotate, iformless
11 from decimal import Decimal
12 from xml.dom import minidom
13
14 import allmydata.web
15
16 # junk to appease pyflakes's outrage
17 [
18     accessors, appserver, static, rend, url, util, query, i18n, flat, guard, stan, testutil,
19     context, flatmdom, flatstan, twist, webform, processors, annotate, iformless, Decimal,
20     minidom, allmydata,
21 ]
22
23 from allmydata.scripts import runner
24
25 runner.run()