#! /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/local/lib/python2.4/site-packages" not in sys.path:
      sys.path.insert(0, "/usr/local/lib/python2.4/site-packages")

    from glchess.glchess import start_game

start_game()
