Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Commit

Permalink
reshuffling import of vendor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Oct 6, 2011
1 parent f41058b commit 1edb934
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion 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)
Expand Down
4 changes: 4 additions & 0 deletions 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'))
5 changes: 0 additions & 5 deletions 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"

Expand Down

0 comments on commit 1edb934

Please sign in to comment.