mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-18 20:47:54 +00:00
Remove Nevow from the static script
This commit is contained in:
parent
14b9dc090d
commit
9b8b7a5d86
0
newsfragments/3434.minor
Normal file
0
newsfragments/3434.minor
Normal file
@ -3,23 +3,19 @@
|
|||||||
# Import this first to suppress deprecation warnings.
|
# Import this first to suppress deprecation warnings.
|
||||||
import allmydata
|
import allmydata
|
||||||
|
|
||||||
# nevow requires all these for its voodoo module import time adaptor registrations
|
|
||||||
from nevow import accessors, appserver, static, rend, url, util, query, i18n, flat
|
|
||||||
from nevow import guard, stan, testutil, context
|
|
||||||
from nevow.flat import flatmdom, flatstan, twist
|
|
||||||
from formless import webform, processors, annotate, iformless
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
|
|
||||||
import allmydata.web
|
import allmydata.web
|
||||||
|
|
||||||
# junk to appease pyflakes's outrage
|
# We import these things to give PyInstaller's dependency resolver some hints
|
||||||
[
|
# about what it needs to include. We don't use them otherwise _here_ but
|
||||||
accessors, appserver, static, rend, url, util, query, i18n, flat, guard, stan, testutil,
|
# other parts of the codebase do. pyflakes points out that they are unused
|
||||||
context, flatmdom, flatstan, twist, webform, processors, annotate, iformless, Decimal,
|
# unless we use them. So ... use them.
|
||||||
minidom, allmydata,
|
Decimal
|
||||||
]
|
minidom
|
||||||
|
allmydata
|
||||||
|
|
||||||
from allmydata.scripts import runner
|
from allmydata.scripts import runner
|
||||||
|
|
||||||
runner.run()
|
runner.run()
|
||||||
|
Loading…
Reference in New Issue
Block a user