ports/www/puppetboard/files/puppetboard_wsgi.py

14 lines
327 B
Python
Raw Normal View History

2023-08-16 22:26:55 +00:00
# WSGI helper script; distributed with Puppetboard up to 0.0.4
from __future__ import absolute_import
import os
import sys
me = os.path.dirname(os.path.abspath(__file__))
# Add us to the PYTHONPATH/sys.path if we're not on it
if not me in sys.path:
sys.path.insert(0, me)
from puppetboard.app import app as application