1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import os import site import sys # If you have some lazr modules installed but lazr-js is not installed in a # system location, the lazr 'namespace package' interferes with importing the # lazr-js code. sys.modules.pop('lazr', None) ROOT = os.path.dirname(__file__) sys.path.insert(0, os.path.join(ROOT, 'src-py')) from lazr.js.combo import combo_app application = combo_app(os.path.join(ROOT, "build")) |