megacoffee.net Gentoo overlay - legacy mirror
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 @ 234:c56b9e2d29d6
[sync] imported 95f1c05..e892980 from upstream
commit e892980d2d4e17873e3341bc1c9f027da355d0a6
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Sat Aug 8 14:26:11 2020 +0200
media-libs/blackmagic-desktop-video-sdk: version bump to 11.6
author | Migration Sync <gentoo-overlay@megacoffee.net> |
---|---|
date | Sat, 08 Aug 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')