tahoe-lafs/windows/setup.py
robk-tahoe 520cbb0165 first stab at windows build details.
there are many and various fiddly details that were involved in this process
on mountain view.  This is a stripped down version of the build process used
there.  there's hence a good chance that one or two necessary details got
stripped down through the cracks.

this provides a py2exe setup.py to build a tahoe.exe and a tahoesvc.exe
the former is equivalent to bin/tahoe, but without the start/stop commands.
the latter is a windows service that instantiates a client whose basedir
is found in the registry.
2008-01-09 19:01:56 -07:00

42 lines
740 B
Python

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": [
],
"includes": [
],
"packages": [
"encodings",
"_xmlplus",
],
#"optimize" : 2,
},
},
}
if __name__ == '__main__':
setup(**setup_args)
_junk = py2exe # appease pyflakes
del _junk