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 @ 228:ca0e4676139f

[sync] imported 161b374..110a8a8 from upstream commit 110a8a81a82c0fb9b3a0064ad8b2f80814b71ebc Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Apr 30 23:07:56 2020 +0200 app-admin/boinc-status: added version 3.10
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 30 Apr 2020 21:15: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')