Warning pyglet may not install with pip

I just tried to install "Doctor Korovic's Flying Atomic Squid" on xubuntu 11.04 by using the command
sudo python setup.py install
but it failed to download the right pyglet install package it downloads the document package instead.

in the ~/.pip/pip.log it says

Downloading from URL http://pyglet.googlecode.com/files/pyglet-1.1.4-docs.zip
error: package directory 'pyglet' does not exist

sudo pip install pyglet
also leads to the same problem

As a fix I downloaded the src package from the pyglet website
and installed it using
tar -zxvf pyglet-1.1.4.tar.gz
cd pyglet-1.1.4/
sudo python setup.py install

This solved the problem for me