From 869cf44f683a2946518da635307a8803ee63df2c Mon Sep 17 00:00:00 2001
From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Wed, 23 Jan 2008 18:23:37 -0700
Subject: [PATCH] fix windows build's packaging of web templates

the recent changes to webish's template lookup (to use nevow.util hence
pkg_resources) to support the mac build, needs these changes to the windows
build in match the new lookup path
---
 windows/installer.tmpl | 2 +-
 windows/setup.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/windows/installer.tmpl b/windows/installer.tmpl
index ea3b4359..830b7f58 100644
--- a/windows/installer.tmpl
+++ b/windows/installer.tmpl
@@ -23,7 +23,7 @@ OutputBaseFilename=Allmydata_Tahoe_Setup_v%(major)d_%(minor)d_%(point)d_%(nano)d
 [Files]
 ; contents of 'binaries' dir. (consolidated build target)
 Source: "*.*"; DestDir: "{app}\Install"; Flags: restartreplace replacesameversion uninsrestartdelete
-Source: ".\web\*.*"; DestDir: "{app}\Install\web"; Flags: recursesubdirs
+Source: ".\pkg_resources\*.*"; DestDir: "{app}\Install\pkg_resources"; Flags: recursesubdirs
 Source: ".\winfuse\*.*"; DestDir: "{app}\Install\winfuse"; Flags: recursesubdirs
 
 [Dirs]
diff --git a/windows/setup.py b/windows/setup.py
index 230aa4d3..9ebf9166 100644
--- a/windows/setup.py
+++ b/windows/setup.py
@@ -58,7 +58,7 @@ setup_args = {
     'data_files': [
         ('.', [
         ],),
-        ('web', glob.glob('../src/allmydata/web/*')),
+        ('pkg_resources/allmydata/web', glob.glob('../src/allmydata/web/*')),
         ('winfuse', glob.glob('./winfuse/*')),
     ],
     'zipfile' : 'library.zip',
-- 
2.45.2