[Zope3-dev] Re: development checkout

Philipp von Weitershausen philipp at weitershausen.de
Thu Feb 1 05:22:09 EST 2007


Martin Aspeli wrote:
> Chris Withers wrote:
>> Hi All,
>>
>> It's been way too long since I did that, but how do I go about getting 
>> an svn checkout of Zope 3 that I can develop with? Is there a how-to 
>> somehwere?
>>
>> I'd imagine it goes something like:
>>
>> 1 - checkout svn url you wish to develop with
>>
>> 2 - do some kind of inplace build

'make'

>> 3 - point your mkzopeinstance-created instance at the checkout

or simply create an instance with Zope3checkout/bin/mkzopeinstance.

>> 4 - develop
>>
>> 5 - run tests

bin/test -s yourpackage

>> How do I do 2 and 5?
>>
>> For 2, how do I do a suitable in-place build on Linux? Are there still 
>> up-to-date pre-built binary bits for Windows that I can unpack? If so, 
>> where do I get them from?

Download a standard Zope 3 release from zope.org or use the trunk and 
install the PYDs from http://www.zope.org/Products/Zope3/Trunk

>> For 5, how do I run tests for a module in the checkout with the 
>> testrunner, as opposed to tests for a module in the instance?
>>
> 
> I'll take a guess that it's not too different from building zope 2: 
> 
> $ python setup.py build_ext -i

This is not enough. You need:

   $ python2.4 setup.py build_ext -i install_data --install-dir .

or simply run 'make'.

-- 
http://worldcookery.com -- Professional Zope documentation and training
Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5


More information about the Zope3-dev mailing list