From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Thu, 10 Jan 2008 22:34:46 +0000 (-0700)
Subject: add files from allmydata/web to py2exe distribution
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/rgr-080307.php?a=commitdiff_plain;h=0307f29d7f54e056e59d4bf4f21c0495dd0fb861;p=tahoe-lafs%2Ftahoe-lafs.git

add files from allmydata/web to py2exe distribution

when building the py2exe package, glob src/allmydata/web/* into web/ within the dist
---

diff --git a/windows/setup.py b/windows/setup.py
index 47a56ed4..f401cc33 100644
--- a/windows/setup.py
+++ b/windows/setup.py
@@ -1,6 +1,8 @@
 from distutils.core import setup
 import py2exe
 
+import glob
+
 setup_args = {
     'name': 'Tahoe',
     'description': 'Allmydata Tahoe distributated storage',
@@ -16,6 +18,7 @@ setup_args = {
     'data_files': [
         ('.', [
         ],),
+        ('web', glob.glob('../src/allmydata/web/*')),
     ],
     'zipfile' : 'library.zip',
     'options': {