I'm developing small project with ability scaffold (copy project files as an template). Truing to build my project by following this tutorial This is what official documentation suggests.
mkvirtuallenv app
than
paster create app
than added in my setup.py
entry_points="""
[paste.paster_create_template] app = app.app:FrameworkTemplate """,
than
from paste.script import templates
class FrameworkTemplate(templates.Template):
egg_plugins = ['app'] summary = 'Template for creating a basic Framework package' required_templates = ['basic_package'] _template_dir = 'templates' use_cheetah = True
crated my templates folder and package folder in app/templates/+package+/
than
python setup.py develop
And here is my finish: When I do
paster create --list-templates
It says me that:
Warning: could not load entry point app (ImportError: No module named app)
I'm just wondering what I'm doing wrong? And hot to make it work
When I run python
console and import app it is importing with no problems.
Dublicated this question in official issue tracker of pasterScript: