diff options
author | 2019-10-04 22:55:01 +1000 | |
---|---|---|
committer | 2019-10-04 22:55:01 +1000 | |
commit | bcfa6047c37c95fdb5513ebe633ec0470c400fb6 (patch) | |
tree | 9dbb0c99c68c40deda2914a0fda5dbd8e4b82524 /scripts/minimaws/minimaws.wsgi | |
parent | 3bbbe5080b30e41e379644033b7dbfc4419ca576 (diff) |
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.
Diffstat (limited to 'scripts/minimaws/minimaws.wsgi')
-rw-r--r-- | scripts/minimaws/minimaws.wsgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/minimaws/minimaws.wsgi b/scripts/minimaws/minimaws.wsgi index ff6d045419f..1ddab440be4 100644 --- a/scripts/minimaws/minimaws.wsgi +++ b/scripts/minimaws/minimaws.wsgi @@ -3,13 +3,14 @@ ## license:BSD-3-Clause ## copyright-holders:Vas Crabb ## -## Simple script for deploying minimaws with mod_wsgi. +## Simple wrapper for deploying minimaws with mod_wsgi. import os.path import sys -sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +scriptdir = os.path.dirname(os.path.abspath(__file__)) +sys.path.insert(0, scriptdir) import lib.wsgiserve -application = lib.wsgiserve.MiniMawsApp(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'minimaws.sqlite3')) +application = lib.wsgiserve.MiniMawsApp(os.path.join(scriptdir, 'minimaws.sqlite3')) |