stephenmcd/gnotty — pull request #1 by philipn (2012-07-31 08:43:39+00:00)
Title: Fix missing templates/, etc in setuptools install.

I was checking out gnotty (great stuff so far!) and I was getting this error:

```
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/gevent/pywsgi.py", line 438, in handle_one_response
self.run_application()
File "build/bdist.linux-x86_64/egg/gevent/pywsgi.py", line 424, in run_application
self.result = self.application(self.environ, self.start_response)
File "/home/philip/projects/django/gnotty/env/lib/python2.6/site-packages/Gnotty-0.0.1-py2.6.egg/gnotty/server.py", line 164, in __call__
response = dispatch(environ)
File "/home/philip/projects/django/gnotty/env/lib/python2.6/site-packages/Gnotty-0.0.1-py2.6.egg/gnotty/server.py", line 99, in respond_static
content = self.index()
File "/home/philip/projects/django/gnotty/env/lib/python2.6/site-packages/Gnotty-0.0.1-py2.6.egg/gnotty/server.py", line 118, in index
with open(os.path.join(template_dir, "base.html"), "r") as f:
IOError: [Errno 2] No such file or directory: '/home/philip/projects/django/gnotty/env/lib/python2.6/site-packages/Gnotty-0.0.1-py2.6.egg/gnotty/templates/gnotty/base.html'
: Failed to handle request:
request = GET / HTTP/1.1 from ('127.0.0.1', 40472)
application =
```

This pull request adds the missing directories to the installer.