divvy.py 533 B

123456789101112131415161718192021
  1. from . import _internals as internals
  2. appname = "divvy"
  3. def main():
  4. app = internals.load_webapp(appname)
  5. if not app:
  6. raise RuntimeError("This application is not available in your build package.")
  7. internals.start_server(appname = appname,
  8. description = "Divvy, your data analytic with ParaView",
  9. module = app,
  10. protocol = app._DivvyServer)
  11. def is_supported():
  12. if internals.find_webapp(appname):
  13. return True
  14. return False
  15. if __name__ == "__main__":
  16. main()