Commit Graph

1999 Commits

Author SHA1 Message Date
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
9ed5533760 added tweaked sibpath implementation
use of twisted.python.util.sibpath to find files relative to modules doesn't
work when those modules are bundled into a library by py2exe.  this provides
an alternative implementation (in allmydata.util.sibpath) which checks for
the existence of the file, and if it is not found, attempts to find it relative
to sys.executable instead.
2008-01-10 15:23:41 -07:00
robk-tahoe
38ff96b2f8 resolve makefile conflicts
and surpress echo of echoes
2008-01-09 21:21:15 -07:00
robk-tahoe
8f4f3bf6cc add 'run' command to tahoe
adds a 'run' commands to bin/tahoe / tahoe.exe
it loads a client node into the tahoe process itself,
running in the base dir specified by --basedir/-C and
defaulting to the current working dir.

it runs synchronously, and the tahoe process blocks until
the reactor is stopped.
2008-01-09 19:54:12 -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
08f445a562 added a 'repl' command to tahoe.exe
this is probably not of very high utility in the unix case of bin/tahoe
but is useful when working with native builds, e.g. py2exe's tahoe.exe,
to examine and debug the runtime environment, linking problems etc.
2008-01-09 19:19:52 -07:00
robk-tahoe
33715f3ba3 add windows-exe target to makefile 2008-01-09 19:06:28 -07:00
robk-tahoe
2585908296 tweaks to build process to support py2exe
py2exe is unable to handle .eggs which are packaged as zip files
in preference it will pull in other versions of libraries if they 
can be found in the environment.

this changes causes .eggs to be built as .egg directories, which
py2exe can handle.
2008-01-09 19:02:53 -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
robk-tahoe
4e3f089257 tweak running to make node start/stop code optional
add a 'install_node_control' flag to runner.run(), default True
this enables the start/stop node commands
which are not too useful on windows
2008-01-08 19:51:18 -07:00
Zooko O'Whielacronx
69dba9a704 tests: increase the timeout on a test which failed on the overloaded virtual buildslaves 2008-01-11 14:27:54 -07:00
Zooko O'Whielacronx
973a01edb8 docs: mention some tips of how to resolve a certain dependency on Dapper 2008-01-10 15:32:38 -07:00
Zooko O'Whielacronx
ed9c41d8a7 docs: start updating install-details.html to reflect current auto-dependency and setuptools requirements, and to be better written 2008-01-10 14:03:37 -07:00
Zooko O'Whielacronx
e07f9c27c2 setup: require setuptools >= v0.6c6 on all platforms
Technically, we could get away with v0.6c5 or v0.6c4 on non-cygwin platforms, but if someone currently doesn't have setuptools >= v0.6c6 installed then our setup process will just use our bundled setuptools v0.6c7 anyway, so it will still work, and this makes the setup.py and the accompanying documentation simpler.
2008-01-10 14:02:13 -07:00
Zooko O'Whielacronx
80adf18fcc setup: remove hard import of ez_setup -- we can proceed even if ez_setup can't be imported 2008-01-10 14:01:52 -07:00
Zooko O'Whielacronx
72aa8f5cb8 setup: shebang usr bin env python 2008-01-10 14:01:31 -07:00
Zooko O'Whielacronx
3e22dbb3bc setup: remove the hack to determine if we can avoid the explicit setuptools-managed dependency on nevow (which was useful for building on dapper)
For simplicity, and to avoid weird failure modes that result from importing nevow during the build process, we now simply require nevow >= 0.6.0.  We currently bundle in misc/dependencies nevow v0.9.18, which will not work on Dapper, since it requires Twisted >= 2.4.0, and Dapper comes with Twisted 2.2.0.  Dapper users can (a) install a newer Twisted, (b) install nevow 0.6.0 in egg form so that setuptools can tell that it is installed (without importing it), (c) beg us to start shipping nevow 0.6.0 instead of nevow 0.9.18 in our bundle.
2008-01-10 13:58:00 -07:00
Zooko O'Whielacronx
b0dd88158a setup: update the version numbers of packages that we require, add zope.interface to our requirements, make nevow >= 0.6.0 always be a requirement 2008-01-10 13:56:39 -07:00
Zooko O'Whielacronx
10d7d48bf8 docs: add require version numbers of deps to install.html, move pywin32 from install.html to install-details.html, change ref to install-details.html in install.html 2008-01-10 13:35:30 -07:00
Brian Warner
e825406fc2 offloaded: move interfaces to interfaces.py, start implementing backend 2008-01-09 21:25:47 -07:00
Brian Warner
d2f4aff9c2 upload.py: start removing wait_for_numpeers code 2008-01-09 21:25:18 -07:00
Brian Warner
da7778774b offloaded: basic test for client-side of AssistedUploader 2008-01-09 20:25:50 -07:00
Brian Warner
2ad84eeed8 offloaded: create a Helper if 'run_helper' is non-empty 2008-01-09 20:25:05 -07:00
Brian Warner
0e2ddb00be test_system: slight refactoring to eventually make it easier to configure some nodes with the output of others 2008-01-09 20:23:54 -07:00
Brian Warner
bc67f94546 Makefile: pyflakes: the newest pyflakes is more picky, more verbose, and prints the same message multiple times 2008-01-09 20:23:12 -07:00
Brian Warner
ea24864544 offloaded: more code, fix pyflakes problems, change IEncryptedUploader a bit 2008-01-09 17:58:47 -07:00
Brian Warner
db71bdae9c offloaded: early code: most of client-side, defined the RemoteInterfaces 2008-01-08 21:18:54 -07:00
Brian Warner
d4e9e3b9c4 check_speed.py: re-enable 100x200B and 1x100MB CHK tests 2008-01-08 20:59:48 -07:00
Brian Warner
25666e1d44 docs/mutable-DSA.svg: fix background color, resolution for export-to-png 2008-01-08 20:11:04 -07:00
Brian Warner
d95a4df0c7 docs/mutable-DSA.svg: add a picture of the upcoming DSA-based mutable file structure 2008-01-08 20:08:52 -07:00
nejucomo
0b11a43e6c User friendly error messages, and updates to use new URI formats. 2008-01-08 12:21:21 -07:00
Zooko O'Whielacronx
ed31c3a66b TAG allmydata-tahoe-0.7.0 2008-01-08 12:47:49 -07:00
robk-tahoe
3a7c688270 fix webish unit tests by making node.url file optional 2008-01-08 12:36:14 -07:00
Brian Warner
464637605e test_system: assert that BASEDIR/node.url is created properly 2008-01-07 17:46:22 -07:00
robk-tahoe
08c3ee73a2 reinstate creation of node.url files upon startup
a recent purge of the start.html code also took away the logic that wrote
'node.url' into the node root.  this is required for the tahoe cli tool to 
find the node.  this puts back a limited fraction of that code, so that the
node writes out a node.url file upon startup.
2008-01-07 18:04:56 -07:00
robk-tahoe
63c12f96ef short note about building cryptopp under cywin/native on win 2008-01-07 17:50:20 -07:00
robk-tahoe
b640f8ec59 add a note to README.win32 about building cryptopp etc on cygwin 2008-01-07 15:35:45 -07:00
nejucomo
ca26c2ad5e Make the purpose and location of the tahoe executable more explicit in install.html. 2008-01-08 11:33:26 -07:00
Zooko O'Whielacronx
83b7b64b3a setup: update licensing information in setup.py comments and metadata 2008-01-08 11:45:00 -07:00
Zooko O'Whielacronx
55caa2db92 docs: update configuration.txt to mention the private subdir and edit the description of webport 2008-01-08 11:44:07 -07:00
Zooko O'Whielacronx
7f9e6dc318 docs: fix hyperlinks from install.html to the Win32 and Cygwin notes 2008-01-08 11:38:48 -07:00
Zooko O'Whielacronx
5e75c83b9f docs: update the example link in using.html 2008-01-08 11:23:45 -07:00
Zooko O'Whielacronx
9e2ed2df01 direct the user to docs/write_coordination.html in case of an UncoordinatedWriteError 2008-01-08 11:15:06 -07:00
Zooko O'Whielacronx
5ea9f156be docs: make it so that people will stop experiencing build failure due to g++ not being installed 2008-01-08 11:03:29 -07:00
Zooko O'Whielacronx
9033d887a3 docs: relnotes for 0.7.0 2008-01-08 11:01:44 -07:00
Zooko O'Whielacronx
e6382727fe CREDITS for nejucomo 2008-01-08 10:54:17 -07:00
Brian Warner
d9d1697996 util.log: add levels like UNUSUAL 2008-01-07 17:32:45 -07:00
Brian Warner
083ab7252c mutable: improve logging: mark events with level=log.WEIRD and log.UNUSUAL 2008-01-07 17:09:16 -07:00
Brian Warner
6781e2e1c6 mutable.py: update comment about uncoordinated writes appearing as not-enough-peers(unable to get privkey) errors 2008-01-07 14:48:05 -07:00
Zooko O'Whielacronx
1ab03fe9d2 setup: update in-line doc of get-version.py 2008-01-08 10:51:01 -07:00