Re: [Zope-dev] Buildout - including per-user site-packages dir.

2013-06-26 Thread Alex Leach
Hi again, I got the same error with zpasswd, so had to repeat the process with that section of buildout.cfg, too... Thought I'd explain the specifics, while I remember... On Tue, 25 Jun 2013 19:44:48 +0100, Alex Leach wrote: The buildout configuration that seemed to fix this, w

Re: [Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi Johannes, Thanks for the reply. On Tue, 25 Jun 2013 19:13:15 +0100, Johannes Raggam wrote: AFAIK, you just need to create a .buildout directory in your home directory, put the file "default.cfg" in it with this content: [buildout] eggs-directory = /home/YOURS/.buildout/eggs download-ca

[Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi, I'm trying to configure buildout.cfg so that paster looks for eggs in my home folder's site packages directory, as per PEP 370[1]. In buildout.cfg, I have the line: include-site-packages = true But packages I've installed in my home folder aren't found when my app is run (with paster)

[Zope-dev] Buildout - including per-user site-packages dir.

2013-06-25 Thread Alex Leach
Hi, I'm trying to configure buildout.cfg so that paster looks for eggs in my home folder's site packages directory, as per PEP 370[1]. In buildout.cfg, I have the line: include-site-packages = true But packages I've installed in my home folder aren't found when my app is run (with paster)

Re: [Zope-dev] WebSockets API

2012-11-28 Thread Alex Leach
Hi, just sending again to the list... On Tuesday 27 Nov 2012 16:51:13 Andreas Jung wrote: > Use the right tool for each problem. Zope is really not the right choice > for implementing a websocket server. Why is it the wrong tool for the job? I read up a bit on asyncore, and see it's supposedly

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
On Tuesday 27 Nov 2012 07:04:43 Jim Fulton wrote: > Actually, it is. zope.server is based on asyncore. > > Having said that, my impression is that web sockets is largely (or > completely) orthogonal to WSGI and the HTTP-based publishing > infrastructure. >From the RFC: The WebSocket Protocol

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
On Tuesday 27 Nov 2012 10:07:03 Adam GROSZER wrote: > > Some investigations and trials showed about half a year ago that a > Autobahn + Twisted + pyramid combination worked. > > YMMV Thanks. That is a completely different and separate application stack cf. the standard grok dependencies. I've w

Re: [Zope-dev] WebSockets API

2012-11-27 Thread Alex Leach
ld also need a WebSocket client to perform the testing... Hope that helps. Cheers, Alex > > Wolfgang -- Alex Leach BSc. MRes. Department of Biology University of York York YO10 5DD United Kingdom www: http://bioltfws1.york.ac.uk/~albl500 EMAIL DISCLAIMER: http://www.york.ac.uk/docs/d

[Zope-dev] WebSockets API

2012-11-25 Thread Alex Leach
Hi, I was wondering if anyone has implemented a WebSockets server API using the zope toolkit? I've just submitted a blueprint on Launchpad (https://blueprints.launchpad.net/zopetoolkit-project/+spec/websockets-api), but thought it might be quicker and easier to discuss how one could do this he

[Zope-dev] zope.formlib - Overriding default widget attributes

2012-04-12 Thread Alex Leach
acklevel=2) > value = key In fact, I'd also get rid of the `if kw:` line, as it seems unnecessary... Cheers, Alex ps. Sorry if this is a duplicate. I think my original message got rejected as I hadn't subscribed... -- Alex Leach Department of Biology University of York