OK well Akhet doesn't work when following:
http://docs.pylonsproject.org/projects/akhet/dev/usage.html:
(akhet_dev)$ paster create -t akhet Zzz
Traceback (most recent call last):
File "/home/bruce/Development/py_envs/akhet_dev/bin/paster", line 8, in
<module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
line 84, in run
invoke(command, command_name, options, args[1:])
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
line 123, in invoke
exit_code = runner.run(args)
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
line 218, in run
result = self.command()
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/PasteScript-1.7.3-py2.7.egg/paste/script/create_distro.py",
line 73, in command
self.extend_templates(templates, tmpl_name)
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/PasteScript-1.7.3-py2.7.egg/paste/script/create_distro.py",
line 262, in extend_templates
tmpl = entry.load()(entry.name)
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
line 1954, in load
File
"/home/bruce/Development/py_envs/akhet_dev/lib/python2.7/site-packages/Akhet-1.0-py2.7.egg/akhet/paster_templates/__init__.py",
line 4, in <module>
from pyramid.paster import PyramidTemplate
ImportError: cannot import name PyramidTemplate
(akhet_dev)$
On Wed, Jun 22, 2011 at 3:17 PM, Bruce Wade <[email protected]> wrote:
> Ok I will check out Akhet thanks.
>
>
> On Wed, Jun 22, 2011 at 2:23 PM, Chris McDonough <[email protected]> wrote:
>
>> On Wed, 2011-06-22 at 14:21 -0700, Bruce Wade wrote:
>> > Is chameleon faster then mako? Is that why it is the default with
>> > pyramid?
>>
>> Not really. There can only be one default; we chose Chameleon in the
>> built-in scaffolds for hysterical documentation raisins.
>>
>> If you want a full-on Pylons experience (including Mako as the default
>> templating language), use Akhet. See
>> http://docs.pylonsproject.org/docs/pyramid.html
>>
>> >
>> > On Wed, Jun 22, 2011 at 2:19 PM, Joe Dallago <[email protected]>
>> > wrote:
>> > You can use Mako with Pyramid,
>> >
>> http://docs.pylonsproject.org/projects/pyramid/1.0/narr/templates.html#templating-with-mako-templates
>> .
>> > You can also do inheritance in Chameleon, not sure how though
>> > off the
>> > top of my head.
>> >
>> >
>> > On Wed, Jun 22, 2011 at 4:13 PM, Bruce Wade
>> > <[email protected]> wrote:
>> > > I have used Mako with pylons, now I am trying to rap my head
>> > around
>> > > chameleon for pyramid. How do we keep our templates DRY
>> > using chameleon?
>> > > Does it support template inheritance? (Where you can have a
>> > base file and
>> > > just include it into the other template files)
>> > >
>> > > --
>> > > --
>> > > Regards,
>> > > Bruce Wade
>> > > http://ca.linkedin.com/in/brucelwade
>> > > http://www.wadecybertech.com
>> > > http://www.warplydesigned.com
>> > > http://www.fittraineronline.com
>> > >
>> >
>> > > --
>> >
>> > > 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.
>> > >
>> >
>> > --
>> > 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 pylons-discuss
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/pylons-discuss?hl=en.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > --
>> > Regards,
>> > Bruce Wade
>> > http://ca.linkedin.com/in/brucelwade
>> > http://www.wadecybertech.com
>> > http://www.warplydesigned.com
>> > http://www.fitnessfriendsfinder.com
>> >
>> >
>> > --
>> > 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 pylons-discuss
>> > [email protected].
>> > For more options, visit this group at
>> > http://groups.google.com/group/pylons-discuss?hl=en.
>>
>>
>> --
>> 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.
>>
>>
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.warplydesigned.com
> http://www.fitnessfriendsfinder.com
>
--
--
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com
--
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.