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 @ 231:e7c5198d2991

[sync] imported aa68919..e042371 from upstream commit e042371101537d75d7751a7009624a34c11713e6 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 14:20:28 2020 +0200 app-crypto/acmetool: added 0.2.1 (supports ACME v2) commit a268a6c732e7ad6a5336d857c600da79559f0201 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:10:03 2020 +0200 app-crypt/acmetool: unsymlinked 0.0.58 commit aae9c08eddcc5fe7e3a72722761cea40ed0bbe0c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:07:36 2020 +0200 app-crypt/acmetool: fixed 0.0.58 to work with EAPI 7 and renamed GitHub locations commit 11b50f66971c911fc1f022ee56ca0b494e6ef0cf Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 12:02:22 2020 +0200 app-crypt/acmetool: copy from https://github.com/jmesmon/overlay/ before it was removed on May 26, 2017
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 01 Jun 2020 12:30:01 +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')