From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Wed, 23 Jan 2008 22:17:27 +0000 (-0700)
Subject: fix windows build
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/flags/%3C?a=commitdiff_plain;h=8661c94f17aa43e0cac12f3cc008e1a80dde1f08;p=tahoe-lafs%2Ftahoe-lafs.git

fix windows build

having changed the web template retrieval to use nevow.util.resource_filename
(and hence through pkg_resources when available) that adds a requirement that
py2exe be given a hint to induce it to include the allmydata.web module so that
it becomes importable.
---

diff --git a/windows/depends.py b/windows/depends.py
index 937d96be..97e82d97 100644
--- a/windows/depends.py
+++ b/windows/depends.py
@@ -6,8 +6,11 @@ from nevow.flat import flatmdom, flatstan, twist
 from formless import webform, processors, annotate, iformless
 from decimal import Decimal
 
+import allmydata.web
+
 # junk to appease pyflakes's outrage at py2exe's needs
 junk = [
     accessors, appserver, static, rend, url, util, query, i18n, flat, guard, stan, testutil,
     context, flatmdom, flatstan, twist, webform, processors, annotate, iformless, Decimal,
+    allmydata,
     ]