mame/scripts/minimaws/minimaws.wsgi
Vas Crabb bcfa6047c3 Build system maintenance:
* Re-write makedep.py for better performance and better parsing front-end
* Make srcclean deal with kinds of preprocessor abuse I never want to see in real life

(nw) The new parser front-end is better at recognising C++ syntax and
also substantially faster - bootstrapping a single-driver build should
be noticeably quicker.  Having a single parser for C++, .lst and .flt
files also gets us a bit closer to making it simpler to create custom
subtargets.
2019-10-04 22:55:01 +10:00

17 lines
356 B
Python

#!/usr/bin/python
##
## license:BSD-3-Clause
## copyright-holders:Vas Crabb
##
## Simple wrapper for deploying minimaws with mod_wsgi.
import os.path
import sys
scriptdir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, scriptdir)
import lib.wsgiserve
application = lib.wsgiserve.MiniMawsApp(os.path.join(scriptdir, 'minimaws.sqlite3'))