add files from allmydata/web to py2exe distribution

when building the py2exe package, glob src/allmydata/web/* into web/ within the dist
This commit is contained in:
robk-tahoe 2008-01-10 15:34:46 -07:00
parent 4cc99ce3b1
commit 0307f29d7f
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,8 @@
from distutils.core import setup from distutils.core import setup
import py2exe import py2exe
import glob
setup_args = { setup_args = {
'name': 'Tahoe', 'name': 'Tahoe',
'description': 'Allmydata Tahoe distributated storage', 'description': 'Allmydata Tahoe distributated storage',
@ -16,6 +18,7 @@ setup_args = {
'data_files': [ 'data_files': [
('.', [ ('.', [
],), ],),
('web', glob.glob('../src/allmydata/web/*')),
], ],
'zipfile' : 'library.zip', 'zipfile' : 'library.zip',
'options': { 'options': {