Changeset: http://pylonshq.com/project/pylonshq/changeset/1453%3A793b9b659a06
Example:
devin-torress-macbook:Projects devin$ paster create -t pylons testproj
Selected and implied templates:
Pylons#pylons Pylons application template
Variables:
egg: testproj
package: testproj
project: testproj
Enter template_engine (mako/genshi/jinja/etc: Template language) ['mako']:
Enter sqlalchemy (True/False: Include SQLAlchemy 0.4 configuration)
[False]: True
Creating template pylons
Creating directory ./testproj
Recursing into +egg+.egg-info
Creating ./testproj/testproj.egg-info/
Copying paste_deploy_config.ini_tmpl_tmpl to
./testproj/testproj.egg-info/paste_deploy_config.ini_tmpl
Recursing into +package+
Creating ./testproj/testproj/
Copying __init__.py_tmpl to ./testproj/testproj/__init__.py
Recursing into config
Creating ./testproj/testproj/config/
Copying __init__.py_tmpl to ./testproj/testproj/config/__init__.py
Copying environment.py_tmpl to ./testproj/testproj/config/environment.py
Copying middleware.py_tmpl to ./testproj/testproj/config/middleware.py
Copying routing.py_tmpl to ./testproj/testproj/config/routing.py
Recursing into controllers
Creating ./testproj/testproj/controllers/
Copying __init__.py_tmpl to ./testproj/testproj/controllers/__init__.py
Copying error.py_tmpl to ./testproj/testproj/controllers/error.py
Recursing into lib
Creating ./testproj/testproj/lib/
Copying __init__.py_tmpl to ./testproj/testproj/lib/__init__.py
Copying app_globals.py_tmpl to ./testproj/testproj/lib/app_globals.py
Copying base.py_tmpl to ./testproj/testproj/lib/base.py
Copying helpers.py_tmpl to ./testproj/testproj/lib/helpers.py
Recursing into model
Creating ./testproj/testproj/model/
Copying __init__.py_tmpl to ./testproj/testproj/model/__init__.py
Copying meta.py_tmpl to ./testproj/testproj/model/meta.py
Recursing into public
Creating ./testproj/testproj/public/
Copying index.html_tmpl to ./testproj/testproj/public/index.html
Recursing into templates
Creating ./testproj/testproj/templates/
Recursing into tests
Creating ./testproj/testproj/tests/
Copying __init__.py_tmpl to ./testproj/testproj/tests/__init__.py
Recursing into functional
Creating ./testproj/testproj/tests/functional/
Copying __init__.py_tmpl to
./testproj/testproj/tests/functional/__init__.py
Copying test_models.py_tmpl to ./testproj/testproj/tests/test_models.py
Copying websetup.py_tmpl to ./testproj/testproj/websetup.py
Copying MANIFEST.in_tmpl to ./testproj/MANIFEST.in
Copying README.txt_tmpl to ./testproj/README.txt
Copying development.ini_tmpl to ./testproj/development.ini
Recursing into docs
Creating ./testproj/docs/
Copying index.txt_tmpl to ./testproj/docs/index.txt
Copying ez_setup.py to ./testproj/ez_setup.py
Copying setup.cfg_tmpl to ./testproj/setup.cfg
Traceback (most recent call last):
File "/usr/local/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.6.2', 'console_scripts', 'paster')()
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/command.py",
line 79, in run
invoke(command, command_name, options, args[1:])
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/command.py",
line 118, in invoke
exit_code = runner.run(args)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/command.py",
line 213, in run
result = self.command()
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/create_distro.py",
line 125, in command
template, output_dir, vars)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/create_distro.py",
line 167, in create_template
template.run(self, output_dir, vars)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/templates.py",
line 57, in run
self.write_files(command, output_dir, vars)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/templates.py",
line 126, in write_files
template_renderer=self.template_renderer)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/copydir.py",
line 103, in copy_dir
template_renderer=template_renderer)
File
"/Library/Python/2.5/site-packages/PasteScript-1.6.2-py2.5.egg/paste/script/copydir.py",
line 269, in substitute_content
return template_renderer(content, vars, filename=filename)
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
288, in paste_script_template_renderer
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
117, in substitute
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
123, in _interpret
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
132, in _interpret_codes
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
152, in _interpret_code
File "build/bdist.macosx-10.5-i386/egg/tempita/__init__.py", line
203, in _eval
File "<string>", line 1, in <module>
NameError: name 'egg_plugins' is not defined at line 25 column 22 in
file
/Users/devin/Projects/pylons-dev/pylons/templates/default_project/setup.py_tmpl
FILE pylons/util.py LINE 150:
146: class PylonsTemplate(Template):
147: _template_dir = 'templates/default_project'
148: template_renderer = staticmethod(paste_script_template_renderer)
149: summary = 'Pylons application template'
--> 150: egg_plugins = ['PasteScript', 'Pylons']
...
FILE pylons/templates/default_project/setup.py_tmpl LINE 25:
24: zip_safe={{zip_safe}},
--> 25: paster_plugins={{egg_plugins}},
26: entry_points="""
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---