[Product-Developers] Re: How to setup ZopeSkel for development

Martin Aspeli optilude at gmx.net
Thu Feb 28 23:26:21 UTC 2008


Viðar Svansson wrote:
> Hi
> 
> I am having tremendous trouble with extending ZopeSkel and need some help.
> How would one setup ZopeSkel for development and at the same time have it
> installed in site packages? I am using Mac OS X if that is relevant.

Use

  python setup.py develop

Preferably in a virtualenv.

> I had previously installed ZopeSkel in my local site packages so I figured I
>  could create a virtualenv and install it in development mode there. This does
> not work. I can install PasteScript in the virtualenv but it will pick up the
> templates from my global ZopeSkel instance. Even worse, then global
> templates have precedence over my local ZopeSkel copy.

Create your virtualenev with --no-site-packages.

> I am not sure if using buildout in this case is any better, I read on plone.org
> that I might need to uninstalling ZopeSkel from the global site just to get the
> example working. And uninstalling eggs is not quite as easy as installing them.

Buildout would be another option, but probably overkill.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book





More information about the Product-Developers mailing list