Pylons/substanced — pull request #177 by ticosax (2013-10-24 12:28:40+00:00)
Title: Make sure we include scaffolding templates when packaging

This patch fix error when calling :
```bash
$ pcreate -s substanced myproj
Traceback (most recent call last):
File "/home/ticosax/.virtualenvs/sandbox/bin/pcreate", line 9, in
load_entry_point('pyramid==1.5a2', 'console_scripts', 'pcreate')()
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scripts/pcreate.py", line 16, in main
return command.run()
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scripts/pcreate.py", line 75, in run
return self.render_scaffolds()
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scripts/pcreate.py", line 93, in render_scaffolds
scaffold.run(self, output_dir, vars)
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scaffolds/template.py", line 65, in run
self.write_files(command, output_dir, vars)
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scaffolds/template.py", line 97, in write_files
template_renderer=self.render_template,
File "/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/pyramid-1.5a2-py2.7.egg/pyramid/scaffolds/copydir.py", line 63, in copy_dir
names = sorted(os.listdir(source))
OSError: [Errno 2] No such file or directory: '/home/ticosax/.virtualenvs/sandbox/local/lib/python2.7/site-packages/substanced-0.0-py2.7.egg/substanced/scaffolds/substanced'
```