AW: [Zope3-Users] Re: Using svn checkout with zc packages

2007-07-25 Thread Roger Ineichen
Hi Florian

 Betreff: [Zope3-Users] Re: Using svn checkout with zc packages
 
 Florian Lindner wrote:

[...]

 Have you looked at zc.buildout? Checkout the tutorial [1]. 
 Also, pretty much any zope.* or zc.* package's sandbox is set 
 up using buildout these days, providing you with lots of examples.

pretty much any is not allways enough ;-)

Be aware of:

Buildout is experimental and only supported for linux and mac users.

And you could get a lot of work if you use 3-rd party dependencies
and there are no eggs available.

But if you like to have a let's see what we can fix today approach
then eggs are fine today.

I like the buildout concept since I worked with them last week, but 
it's not ready for production in general. At least not for me and
some of my customers windows boxes ;-)

Regards
Roger Ineichen

 [1] http://svn.zope.org/*checkout*/zc.buildout/trunk/doc/tutorial.txt
 
 --
 http://worldcookery.com -- Professional Zope documentation 
 and training
 
 ___
 Zope3-users mailing list
 Zope3-users@zope.org
 http://mail.zope.org/mailman/listinfo/zope3-users
 

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: AW: Re: Using svn checkout with zc packages

2007-07-25 Thread Philipp von Weitershausen

Roger Ineichen wrote:

Buildout is experimental and only supported for linux and mac users.


Buildout may be beta, but I'd say it's far from being experimental. 
Also, it works quite nicely on Windows. The only problem you may have is 
that the stuff you want to install doesn't work on Windows (e.g. 
zdaemon) or there are no pre-built Windows eggs (yet). This isn't 
buildout's fault, though.



And you could get a lot of work if you use 3-rd party dependencies
and there are no eggs available.


How is this a problem with Zope? Which 3rd party dependencies are 
specifically a problem?



--
http://worldcookery.com -- Professional Zope documentation and training

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


AW: [Zope3-Users] Re: AW: Re: Using svn checkout with zc packages

2007-07-25 Thread Roger Ineichen
Hi Philipp

 Betreff: [Zope3-Users] Re: AW: Re: Using svn checkout with zc packages
 
 Roger Ineichen wrote:
  Buildout is experimental and only supported for linux and mac users.
 
 Buildout may be beta, but I'd say it's far from being experimental. 
 Also, it works quite nicely on Windows. The only problem you 
 may have is that the stuff you want to install doesn't work 
 on Windows (e.g. 
 zdaemon) or there are no pre-built Windows eggs (yet). This 
 isn't buildout's fault, though.

I know, buildout is using zdaemon and we just need to write
another daemon like script. But this is tricky because the
app and the instance provide it's own settings e.g. the app
knows the eggs and the instance knows the zope.conf.

This means the app must generate a script with a argument for
the zope.conf and the instance must generate a script which 
calls the app script with the zope.conf.

With a dameon this is a good pattern, for windows it's not.

The best way for generate a start script whould be if
the instance whould know the eggs of the app. This would
allow us to generate one script instead of using a subprocess
or call the script witha batch script.

Also, there must be a option to install zope3 as a production 
server using the windows service. But I think installing the 
windows service as a replacment for the zdeamon isn't a option 
for development. etc. etc.

btw,
I agree buildout isn't experimental it's a good concept
but it's just not working on windows.

I'm really very angry about the missing windows support.
It's a kind of saying to a child, hehe you don't have 
the newest playstation, then it's your problem and we don't
play with you. I don't like this kind of things and this 
should not happen in a community.

I'm not saying that somebody has to write the windows support
for me, I will do that if I find some time. But please be fair
and promote buildout like it is and tell the people that it's 
only usable for mac and linux and we a re not interested to 
support windows right now.

  And you could get a lot of work if you use 3-rd party 
 dependencies and 
  there are no eggs available.
 
 How is this a problem with Zope? Which 3rd party dependencies 
 are specifically a problem?

Not default 3rd party dependencies. Just packages we installed
with binary installers make problems during compilation.

e.g.
- lxml
- pysqlite

I think there will be no other way then to support this developers
and help them to make them compileable on a windows box. But this could be
dam hard. Or we ask this developers to build eggs which will use a binary
installer on a windows box. Hmm, is there somewhere a *.msi or *.exe 
executer recipe?

But what I really hate in the egg concept is, that this will end in
supporting many projects because not every developer is happy to build 
windows eggs. Note, build them on a well defined box is not the same 
like download eggs and build them on a crapy win box with mingw (gcc) 
and msys installed.

Just beeing fair, I think the good part with eggs will be, that all the
pyhton packages out there will get cleand up sooner or later.

Regards
Roger Ineichen


 -- 
 http://worldcookery.com -- Professional Zope documentation 
 and training
 
 ___
 Zope3-users mailing list
 Zope3-users@zope.org
 http://mail.zope.org/mailman/listinfo/zope3-users
 

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Using svn checkout with zc packages

2007-07-25 Thread Philipp von Weitershausen

Florian Lindner wrote:

Hello,
I use a Zope3 svn checkout for developement. What is the best way to make this 
working with the zc packages? I don't want to easy_install the entire Zope 
checkout but I also want my code to work with easy_install'ed versions of 
these packages. (don't want to change import statements and so on...)
My favorite way would be to just do a svn checkout of the zc packages too but 
it seems to me that it won't work this way (or am I missing something?)


Of course you can get a checkout of any package you wish from
svn.zope.org, including the zc.* packages. However, they'll likely have
dependencies which you will have to resolve as well. Some might also
define entry points which means they really want to be installed as eggs.

Why do you use checkouts? Do you actually change the packages while
you're developing with them?

Have you looked at zc.buildout? Checkout the tutorial [1]. Also, pretty
much any zope.* or zc.* package's sandbox is set up using buildout these
days, providing you with lots of examples.


[1] http://svn.zope.org/*checkout*/zc.buildout/trunk/doc/tutorial.txt

--
http://worldcookery.com -- Professional Zope documentation and training

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Using svn checkout with zc packages

2007-07-25 Thread Florian Lindner
Hello,
I use a Zope3 svn checkout for developement. What is the best way to make this 
working with the zc packages? I don't want to easy_install the entire Zope 
checkout but I also want my code to work with easy_install'ed versions of 
these packages. (don't want to change import statements and so on...)
My favorite way would be to just do a svn checkout of the zc packages too but 
it seems to me that it won't work this way (or am I missing something?)

Thanks,

Florian
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users