Re: [pylons-discuss] Pyramid theme package

2014-01-24 Thread Paul Everitt
Note that this is really about Python packaging, not anything Pyramid specific. Plone does it, I think, by letting you develop and distribute themes without using Python packaging. If you have a project that has two Python packages that you are working on, and want them both in development

Re: [pylons-discuss] Pyramid theme package

2014-01-23 Thread Winston Ferreira
That works pretty well for my case. But I'm still confused as to how to create and work with multiples packages.By following the tutorial, I have to create a project using a scaffold. How do I create a theme package and an aplication project and work with both? Do I just create a normal python

[pylons-discuss] Pyramid theme package

2014-01-22 Thread Winston Ferreira
Hello, I come from the Plone world where the theme and app package are usually separate packages (mypackage.theme and mypackage.app). Is this possible in pyramid? How ? Thanks. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe

[pylons-discuss] Pyramid Theme package

2014-01-22 Thread Winston Ferreira
Hello, I am new at Pyramid so forgive if my question may seen stupid. I come from the Plone world where theme and app are diferrente packages (mypackage.theme and mypackage.app) and I was wondering if this is possible with pyramid. And if possible, what is the best way to implement this?

Re: [pylons-discuss] Pyramid Theme package

2014-01-22 Thread Devon Meunier
So as far as I understand this, you want to either have multiple sets of templates or CSS. For templates, you can change the configuration of `mako.directories` (see: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#mako-module-directory) and just mirror the

Re: [pylons-discuss] Pyramid theme package

2014-01-22 Thread Paul Everitt
If you're looking for a concept of splitting the theming into a different abstraction from the normal view templates, then pyramid_layout might be what you want: http://docs.pylonsproject.org/projects/pyramid_layout/en/latest/ With that you can make a Python package for a particular

Re: [pylons-discuss] Pyramid theme package

2014-01-22 Thread Laurent DAVERIO
Hi, I'm afraid you cannot compare Plone with Pyramid: - Plone is a ready-to-use web content management application with a themeable interface - Pyramid is a web development framework with no standard, built-in user interface. So, the notion of theme has no meaning in the context Pyramid. That