[z3-five] Re: Five under Windows
Philipp von Weitershausen
philipp at weitershausen.de
Fri Jun 25 15:01:28 MEST 2004
Jeroen,
thanks for your interest in Five and the short howto!
> (Note that I already had python2.3 installed).
>
> 1) install zope3 package from http://zope.org/Products/ZopeX3 (this ends
> up in C:\Python23\Lib\site-packages\zope with all the needed binary(pyd)
> files, since I don't have the needed compilers to build the needed zope
> pyd files.
>
> Question: does this mean non-windows users also need to perform a build
> of zope3 before the "INSTALLATION" will work?
No, a recent Zope X3 build should work, at least for now. We're
developing Five aggressively at the moment, so we have to keep it up to
date with Zope3's development, which has stabilized quite well for now,
though.
Note that the site-packages location is quite unusual for Zope3, under
normal circumstances. It is kind of justified here since you're only
using Zope3 as a library collection. Normally, you would install Zope3
just like Zope 2.X as an application.
> 2) install zope2.7 from http://zope.org/Products/Zope/2.7.1 (instance
> ended up in C:\Zope-Instance
>
> 3) download Five from http://codespeak.net/svn/z3/Five/trunk/ (using
> svn), this ended up in C:\Zope-Instance\Products\Five
>
> I added the following lines to C:\Zope-Instance\etc\zope.conf:
>
> path C:\Python23\Lib\site-packages
>
> This makes sure the zope3 package installed during step1 is found
> correctly, however this also means that everything else (non-zope) could
> be used, I'm not sure if that is a good thing.
Well, again, I would recommend putting Zope 3 somewhere else and
pointing zope.conf there instead of the *other* Python's site-packages
directory.
> 4) copy C:\Zope-Instance\Products\Five\demo\* to
> C:\Zope-Instance\Products, so you'll end up with useable FiveDemo and
> FiveViewsDemo Products
>
> 5) startup zope
>
> However, since I'm all new to this... I'm not sure what I should do now
> to see that it all works now ... except for adding a SimpleContent
> object as test, and then do http://localhost/test/eagle.txt as described
> in the FiveViewsDemo readme.
That proves that it works :) You can now start hacking stuff with Five.
Philipp
More information about the z3-five
mailing list