File: fookebox.wsgi

package info (click to toggle)
fookebox 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 852 kB
  • sloc: python: 1,559; sh: 42; makefile: 14
file content (10 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
BASE_PATH = '/usr/share/fookebox'
APP_CONFIG = '/etc/fookebox/config.ini'

import sys

if BASE_PATH not in sys.path:
	sys.path.append(BASE_PATH)

from paste.deploy import loadapp
application = loadapp('config:' + APP_CONFIG)