~ubuntu-branches/ubuntu/karmic/tahoe-lafs/karmic

« back to all changes in this revision

Viewing changes to mac/depends.py

  • Committer: Bazaar Package Importer
  • Author(s): Zooko O'Whielacronx (Hacker)
  • Date: 2009-09-24 00:00:05 UTC
  • Revision ID: james.westby@ubuntu.com-20090924000005-ixe2n4yngmk49ysz
Tags: upstream-1.5.0
ImportĀ upstreamĀ versionĀ 1.5.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# nevow requires all these for its voodoo module import time adaptor registrations
 
3
from nevow import accessors, appserver, static, rend, url, util, query, i18n, flat
 
4
from nevow import guard, stan, testutil, context
 
5
from nevow.flat import flatmdom, flatstan, twist
 
6
from formless import webform, processors, annotate, iformless
 
7
from decimal import Decimal
 
8
 
 
9
 
 
10
#if sys.platform in ['darwin', ]:
 
11
from nevow.flat import flatsax
 
12
from xml.parsers import expat
 
13
from xml.sax import expatreader
 
14
junk = [ flatsax, expat, expatreader, ]
 
15
 
 
16
try:
 
17
    # these build hints are needed for nevow/xml on otto's 10.4 / py2.4
 
18
    # environment.  they are broken on zandr's 10.5/py2.5 env, but are
 
19
    # also unnecessary.
 
20
    from xml.sax import sax2exts
 
21
    from xml.sax.drivers2 import drv_pyexpat, drv_xmlproc
 
22
    junk = [ sax2exts, drv_pyexpat, drv_xmlproc, ]
 
23
except:
 
24
    pass
 
25
 
 
26
 
 
27
 
 
28
import allmydata.web
 
29
 
 
30
# junk to appease pyflakes's outrage at py2exe's needs
 
31
junk = [
 
32
    accessors, appserver, static, rend, url, util, query, i18n, flat, guard, stan, testutil,
 
33
    context, flatmdom, flatstan, twist, webform, processors, annotate, iformless, Decimal,
 
34
    allmydata,
 
35
    ]
 
36