On Sun, Apr 15, 2012 at 3:01 PM, Mike Orr wrote:
>
> Py2exe is not Setuptools aware yet, so it may not be compatible
> with namespace packages. (So far I haven't had a problem with Pylons
> and Py2exe -- including SQLAlchemy -- as long as all imports are
> listed explicitly rather than using Route
that seems odd, do you have that same issue even if you use pip ? namespace
packages are supported without setuptools as it falls back onto
pkgutil.extend_path.
also --no-site-packages is the default now and not using it is a little crazy...
On Apr 15, 2012, at 3:01 PM, Mike Orr wrote:
> I
I don't know much about namespace packages, but I'd avoid them as they
lead to occasional problems on some systems. For instance, I can't
install Pyramid without --no-site-packages on some versions of Ubuntu,
because the "zope." namespace is split between the system
site-packages and the virtualenv
Hi Mike,
Yes that was me, I talked to you at the Pyramid booth and at that get
together during PloneConf.
Integrating with the other project sounds good to me.
-Ian
On Sun, Apr 15, 2012 at 11:25 AM, Mike Orr wrote:
> On Sat, Apr 14, 2012 at 11:51 AM, plantian wrote:
> > I was just looking at
from pyramid.request import Request
from pyramid.i18n import get_localizer
class MyRequest(Request)
def translation_activate_language(self, culture):
if self._LOCALE_ == culture:
return self.localizer
self._LOCALE_ = culture
del self.localizer
retu
On Sat, Apr 14, 2012 at 11:51 AM, plantian wrote:
> I was just looking at webhelpers' feedgenerator this last week because I was
> trying to generate feeds for my site in RSS and ATOM.
>
> I could spin off the feedgenerator if no one else wants to, there is
> actually a pypi package called feedgen
Hi,
There isn't the ability to do that built in that will do that, but the
pieces are there for you to be able to do it (as I am and have been since
version 1.0 or 1.1). Depending on the Libraries you are depending on and
their level of integration to the Pyramid i18n machinery you may need to do
Welcome,
I was wondering how to dynamicly change the actual language version in
the application. I would like to do something like this:
1. Request
2. Part of code of my application
3. Change of application language from EN to DE
4. Generate content of application in DE language
5. Change applica