2008-01-10 02:01:56 +00:00
|
|
|
from distutils.core import setup
|
|
|
|
import py2exe
|
|
|
|
|
|
|
|
setup_args = {
|
|
|
|
'name': 'Tahoe',
|
|
|
|
'description': 'Allmydata Tahoe distributated storage',
|
|
|
|
'author': 'Allmydata, Inc.',
|
|
|
|
'windows': [
|
|
|
|
],
|
|
|
|
'console': [
|
|
|
|
'tahoe.py',
|
|
|
|
],
|
|
|
|
'service': [
|
|
|
|
'tahoesvc',
|
|
|
|
],
|
|
|
|
'data_files': [
|
|
|
|
('.', [
|
|
|
|
],),
|
|
|
|
],
|
|
|
|
'zipfile' : 'library.zip',
|
|
|
|
'options': {
|
|
|
|
"py2exe": {
|
|
|
|
"excludes": [
|
2008-01-10 22:26:19 +00:00
|
|
|
"pkg_resources",
|
2008-01-10 02:01:56 +00:00
|
|
|
],
|
|
|
|
"includes": [
|
|
|
|
],
|
|
|
|
"packages": [
|
|
|
|
"encodings",
|
|
|
|
"_xmlplus",
|
|
|
|
],
|
|
|
|
#"optimize" : 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
setup(**setup_args)
|
|
|
|
|
|
|
|
|
|
|
|
_junk = py2exe # appease pyflakes
|
|
|
|
del _junk
|