[Product-Developers] Re: Releasing products (betas) and pypi

Tim Hicks tim at sitefusion.co.uk
Thu Apr 10 14:21:48 UTC 2008


Hi Florian,

Thanks for the reply...

Florian Schulze wrote:
> On Thu, 10 Apr 2008 14:35:53 +0200, Tim Hicks <tim at sitefusion.co.uk> wrote:
> 
>> My question is: how should I cut these releases so that they are *as 
>> easy as possible for the end-user to try out*?  We had a fair bit of 
>> trouble with this before when we made 1.6 releases.  It seems that 
>> just providing buildouts is of little use to many users.
> 
> A first step would be to add proper dependencies to each egg. So for 
> example in Products.QuillsEnabled's setup.py you add 
> Products.fatsyndication if it's a direct dependency (the line where 
> "setuptools" is listed). That way the user only needs to easy_install 
> Products.QuillsEnabled and the other packages will automatically be 
> added.

Good point.  I had forgotten about that.

> For a buildout you just add Products.QuillsEnabled to eggs and 
> zcml. Also QuillsEnabled's configure.zcml should include the packages 
> which it needs, so they don't have to be added to the zcml line in 
> buildout.cfg separately.

Yup, that should be ok already.

> Why is quills.app a whole package instead of a namespace?
> 
> At least for the plone namespace the idea is that plone.* are 
> independent of Plone or even Zope itself and plone.app.* is anything 
> which needs Plone specific, like CMF awarenes etc.

That's basically the pattern that I've used, except that I didn't think 
that I needed an extra layer of namespace for quills.app. <shrug />

>> A secondary question is: should I be uploading eggs for beta releases 
>> to pypi (which I've never used), or is that bad form?  (I've seen 
>> complaints recently about the amount of garbage there is in pypi.)
> 
> As long as PSC isn't PyPi enabled on plone.org releasing them on PyPi is 
> ok IMO.

Ok, thanks.

> I didn't look into QuillsEnabled yet, but the idea is very promising!

I hope to get more people trying it out :).


Still, a question remains about how best to release things so that 
non-buildout users - which presumably means the bulk of people using the 
packaged Plone installer releases - can *easily* try out 
Products.Quills[Enabled].  It has been suggested to me that I should 
just tar.gz-up all the lib/python/ packages into one so that people can 
just unpack that into their lib/python/, and then unpack the "normal" 
(old skool) products into their Products directory.  Is that what 
developers are doing these days?  Or is there a better way?


Tim




More information about the Product-Developers mailing list