Tag Archives: paste

Deploy simplificado de Pylons via FastCGI

Em um pequeno projeto que fiz com Pylons, o arquivo a ser executado pelo FastCGI era como o seguinte: #!/usr/bin/env python2.5 import os, sys lib_path = "/home/usuario/lib/python2.5/site-packages/" sys.path.append(lib_path) sys.path.append(‘/home/usuario/projects_pylons/project/’) from pkg_resources import require require("Pylons") require(‘python-openid’) require("AuthKit") require("Elixir") require("flup") require(‘docutils’) require("pygments") … Continue reading

Posted in Pylons, Python | Tagged , , , , , , | 2 Comments

Paste e ovos de páscoa

http://tperl.blogspot.com/2007/08/python-paste-easter-egg.html Um dos fundamentos do Pylons, é o Paste, que segundo o site oficial “traz consistência ao desenvolvimento web em Python e instalação de aplicações web, provendo ferramentas para desenvolvedores e administradores de sistema. Hoje, ao verificar os meus feeds … Continue reading

Posted in Python | Tagged , , | Leave a comment