#! /usr/bin/env python

# Setup bugbuddy to report unhandled exceptions.
try: 
  import bugbuddy
  bugbuddy.install('glchess')
except:
  #No bugbuddy support
  pass

try:
    from glchess.glchess import start_game
except ImportError:
    import sys
    if "/usr/lib64/python2.5/site-packages" not in sys.path:
      sys.path.insert(0, "/usr/lib64/python2.5/site-packages")

    from glchess.glchess import start_game

start_game()
