Skip to content
Browse files

reshuffling import of vendor directory

  • Loading branch information...
1 parent f41058b commit 1edb93445a51c5af17db99aa5d7c68f91c5356f5 @peterbe committed Oct 6, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −1 app.py
  2. +4 −0 here.py
  3. +0 −5 settings.py
View
3 app.py
@@ -1,14 +1,15 @@
#!/usr/bin/env python
import os
+import here
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
import redis.client
from tornado.options import define, options
-import settings
from tornado_utils.routes import route
import handlers
+import settings
define("debug", default=False, help="run in debug mode", type=bool)
View
4 here.py
@@ -0,0 +1,4 @@
+import site, os.path as op
+ROOT = op.abspath(op.dirname(__file__))
+path = lambda *a: op.join(ROOT, *a)
+site.addsitedir(path('vendor'))
View
5 settings.py
@@ -1,8 +1,3 @@
-import site, os.path as op
-ROOT = op.abspath(op.dirname(__file__))
-path = lambda *a: op.join(ROOT, *a)
-site.addsitedir(path('vendor'))
-
PROJECT_TITLE = u"Too cool for me?"
DATABASE_NAME = "toocool"

0 comments on commit 1edb934

Please sign in to comment.
Something went wrong with that request. Please try again.