This is all the code after a week and a bit hacking on this project. It's in a rather experimental state but should work with a little effort.
12 lines
263 B
Python
12 lines
263 B
Python
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
|