On Monday, June 28, 2010 12:59:52 Andrea Crotti wrote:
>   On 28 Giu, 09:37, "Diez B. Roggisch" <[email protected]> wrote:
> > Am 27.06.2010 um 13:21 schrieb Andrea Crotti:
> > Sure you can. Just set up you model file accordingly, there is no  
> > quickstart-option though.
> 
> Ok good I found an example also about that, if I understood correctly
> I only need to modify model/__init__.py and my own model to be able to
> use elixir, is that correct?
> 
> > mercurial or git makes no difference (in the project-management at  
> > least).
> > 
> > The question/problem here is to provide a consistent runtime  
> > environment. For this, you should consider to copy all eggs of your  
> > virtualenv (zipping them if they happen to be unzipped) into a project-
> > relative subdirectory, and added to the VCS.
> > 
> > Then, on installation, through a special setup.cfg or via passed  
> > arguments, instruct easy-install to only install packages from that  
> > directory.
> > 
> >    easy_install -H None -f <destdir> <Packagename>
> > 
> > Diez
> 
> Mm I don't see why I should add all the eggs to the repository zipped,
> also because
> 1. they're binary once zipped

So what? They are dependencies, and can only be installed as zips. They might 
even contain shared object code.

> 2. I don't develop them directly

Exactly. And all of the sudden the person who does pulls the version your 
development relies upon from PyPI. Or simply upgrades it, and breaks your 
system.

> 
> I think maybe the best thing would be to use zc.buildout (and mr.
> developer for git), in this way I can buildout my environment easily
> and get the runtime setup correctly.

I don't know anything about zc.buildout, but I *do* know that not having 
source or binary dependencies at your own disposal puts you in a rather bad 
situation when trying to reliably roll out your system.

Diez

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to