Commit Graph

12 Commits

Author SHA1 Message Date
robk-tahoe
2dd5d2fc63 add windows installer target to build
add 'windows-installer' target to top level makefile to build a windows setup.exe package
using innosetup.  this assumes innosetup 5 is installed in program files as normal.

this doesn't include any logic to manage version numbers at this point, it's just a 
simple experiment to test out building an installer as yet.
2008-01-11 20:41:21 -07:00
robk-tahoe
29277ed97b add confwiz to py2exe build
including setting up the windows xp look and feel stuff.
2008-01-11 18:42:27 -07:00
robk-tahoe
dba59050a9 implement a very simple, wxpython based, config wizard
This implements a very small app using a wx ui to log a user in.

it takes a username and password, and submits them to a backend on the web site
(currently the allmydata test net webserver) to authenticate them.  It returns
the 'root_cap' uri of the user's virtual drive. Also the introducer.furl is
retrieved.  These are then written into the default noderoot basedir in their
usual files (private/root_dir.cap and introducer.furl)

a button is provided which will direct the user to the web site in the event
that they need to register in order to have an account to use.

once the user is successfully authenticated and the files are written, then
on win32 the tahoe service will be started.
2008-01-11 19:53:15 -07:00
robk-tahoe
4c9447e258 added a small script as a stub for a config wizard
this doesn't implement any config wizard ui, but does a simple http fetch of 
root_cap and introducer.furl from a php backend stub.
2008-01-10 20:37:18 -07:00
robk-tahoe
fbf6c48ed8 move registry module into allmydata.windows package 2008-01-10 19:03:23 -07:00
robk-tahoe
7ecbc3a8f2 remove some vestigial cruft from tahoesvc 2008-01-10 15:52:04 -07:00
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
robk-tahoe
4cc99ce3b1 fix a couple of typos in tahoesvc startup 2008-01-10 15:30:31 -07:00
robk-tahoe
ac5f7cf7aa fix nevow build prob for py2exe
nevow attempts to use pkg_resources to find the formless css file upon
import, if pkg_resources is available.  unfortunately using pkg_resources
to find files is not supported if the files are being loaded from a zip
archive (i.e. only source and egg), and further py2exe uses a zip bundle
for all the code and dependent libraries.  hence having both pkg_resources
and nevow built into an exe causes nevow to explode upon import.

this tells py2exe not to link pkg_resources into the target, so that
this behaviour isn't stimulated.  the side effect being that pkg_resources
isn't available.
2008-01-10 15:26:19 -07:00
robk-tahoe
330f84758e add build dependencies to support py2exe's modulefinder
adds windows/depends.py as a container for modules which are needed at runtime
but which py2exe's modulefinder dependency analysis fails to find as requisites.
2008-01-09 19:25:38 -07:00
robk-tahoe
33715f3ba3 add windows-exe target to makefile 2008-01-09 19:06:28 -07:00
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