Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Mike Orr
On Sun, Sep 25, 2011 at 3:15 AM, Atsushi Odagiri aod...@gmail.com wrote: Hi Congraturation for first step to py3k. I wanna help that works, and I have some question. PasteDeploy have ported to py3k, but Paste is not ported. Will Pyramid2.x use pastescript or replace to wiseguy? Can wiseguy

using route_path to generate without slash prefix

2011-09-25 Thread Matt Feifarek
I want to use pyramid's request.route_path() to make links that are relative... ie, that do not start with /. My route is declared thus: config.add_route('render_page', '/{page}.html') My view: @view_config(route_name='render_page') def render_template(request): page =

Re: using route_path to generate without slash prefix

2011-09-25 Thread Chris McDonough
On Sun, 2011-09-25 at 15:42 -0500, Matt Feifarek wrote: I want to use pyramid's request.route_path() to make links that are relative... ie, that do not start with /. My route is declared thus: config.add_route('render_page', '/{page}.html') My view:

Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Michael Merickel
Pyramid is only actually dependent on PasteScript for the paster command and scaffolds, so whether Paste gets ported or not isn't a big deal. The paster command is used to generate scaffolds, start servers and the convenient ability to paster request simulate a request into a conforming WSGI app.

Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Mike Orr
On Sun, Sep 25, 2011 at 5:09 PM, Michael Merickel mmeri...@gmail.com wrote: Pyramid is only actually dependent on PasteScript for the paster command and scaffolds, so whether Paste gets ported or not isn't a big deal. The paster command is used to generate scaffolds, start servers and the

Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Sebastien Douche
On Mon, Sep 26, 2011 at 02:45, Mike Orr sluggos...@gmail.com wrote: We need a standalone HTTP server of some sort to run out of the box. If not paste.httpserver, what then? gunicorn?[1] [1] http://gunicorn.org/ -- Sebastien Douche sdou...@gmail.com Twitter : @sdouche -- You received this

Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Rick Harding
On Mon, 26 Sep 2011, Sebastien Douche wrote: On Mon, Sep 26, 2011 at 02:45, Mike Orr sluggos...@gmail.com wrote: We need a standalone HTTP server of some sort to run out of the box. If not paste.httpserver, what then? gunicorn?[1] [1] http://gunicorn.org/ -- Sebastien Douche

Re: [Paste] Pyramid on Python 3.2

2011-09-25 Thread Michael Merickel
On Sun, Sep 25, 2011 at 7:45 PM, Mike Orr sluggos...@gmail.com wrote: I guess we should spec out what we're using in PasteDeploy and PasteScript. Then we can either write a minimal tool(s) for Pyramid that does that, or look for something that does that. If it's a Pyramid tool, we can use