Pylons/pyramid_zcml — Issue #2: No module named script.template with Pyramid 1.3
Author: sirn
Created: 2011-12-10 23:16:27+00:00
State: open

Errors:

File "/[snip]/python2.7/site-packages/pyramid_zcml-0.8-py2.7.egg/pyramid_zcml/__init__.py", line 5, in
from paste.script.templates import Template
ImportError: No module named script.templates

Steps to reproduce:

1. Create a new virtualenv and generate new pyramid application.
2. Follow the [instructions](http://docs.pylonsproject.org/projects/pyramid_zcml/en/latest/) in pyramid_zcml documentation.
3. `pserve development.ini`
4. Oops!

Since Pyramid 1.3 no longer have PasteScript as dependency yet pyramid_zcml is still using it thus the error after doing `python setup.py` in a clean environment. I know this is solvable by install PasteScript by myself, but since the requirement is missing from pyramid_zcml, I guess this is a bug.