On Sun, 2011-12-11 at 09:03 -0800, Mike Orr wrote: > On Sun, Dec 11, 2011 at 12:31 AM, Ha-Nyung Chung <[email protected]> wrote: > > currently pyramid 1.3a1 doesn't seem to work well with pyramid_zcml. > > pyramid_zcml uses PasteScript package and neither pyramid nor pyramid_zcml > > has dependency on it. So I had to install PasteScript manually in order to > > make pyramid 1.3 work with pyramid_zcml =( > > I don't understand the part about pyramid_zcml, but you *should* add > PasteScript as an application dependency if you intend to use it. > Otherwise it won't auto-install either.
pyramid_zcml itself requires PasteScript, so yeah this is indeed a bug. Note that although pyramid_zcml works fine under Pyramid 1.3 on Python 2, it doesn't work on Python 3 and I have no intent myself to make it work on Python 3. So there are a few options: - add a dependency on PasteScript to pyramid_zcml and people who use Pyramid 1.3 will just have to know to invoke "paster create" rather than "pcreate" to render its scaffolding. - Remove the scaffolding from pyramid_zcml. - Make two scaffolds for pyramid_zcml; one that is registered as under the "pyramid.scaffold" entry point, and another registered under the "paste.paster_create_template" scaffold and somehow make sure both work.. somehow. I'm apt to do either 1 or 2. - C -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
