tahoe-lafs/windows/setup.py
robk-tahoe 0307f29d7f add files from allmydata/web to py2exe distribution
when building the py2exe package, glob src/allmydata/web/* into web/ within the dist
2008-01-10 15:34:46 -07:00

46 lines
840 B
Python

from distutils.core import setup
import py2exe
import glob
setup_args = {
'name': 'Tahoe',
'description': 'Allmydata Tahoe distributated storage',
'author': 'Allmydata, Inc.',
'windows': [
],
'console': [
'tahoe.py',
],
'service': [
'tahoesvc',
],
'data_files': [
('.', [
],),
('web', glob.glob('../src/allmydata/web/*')),
],
'zipfile' : 'library.zip',
'options': {
"py2exe": {
"excludes": [
"pkg_resources",
],
"includes": [
],
"packages": [
"encodings",
"_xmlplus",
],
#"optimize" : 2,
},
},
}
if __name__ == '__main__':
setup(**setup_args)
_junk = py2exe # appease pyflakes
del _junk