We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view dev-vcs/kallithea/files/production.wsgi @ 227:9b9f918d8795

[sync] imported feb54d4..161b374 from upstream commit 161b374c536a26c16bbc589710e1d982bb8e2a4d Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Apr 30 20:47:16 2020 +0200 media-gfx/trimage: fixed broken eclass dependency
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 30 Apr 2020 19:00:02 +0000
parents 2ce94546a682
children
line wrap: on
line source

import os
os.environ["HGENCODING"] = "UTF-8"
os.environ['PYTHON_EGG_CACHE'] = '###DATADIR###/.egg-cache'

# sometimes it's needed to set the curent dir
os.chdir('###DATADIR###/')

import site
site.addsitedir("###BASEDIR###/lib/python2.7/site-packages")

from paste.deploy import loadapp
from paste.script.util.logging_config import fileConfig

fileConfig('###CONFDIR###/production.ini')
application = loadapp('config:###CONFDIR###/production.ini')