added dependency to pyglet1.2 or higher