- Install python 2.4 with ctypes or python 2.5 or pthon 2.6
- Install pyglet 1.1.4 or newer from pyglet's homepage . If you want to use pyglet 1.0, use cocos2d v0.1.x instead.
- Finally, choose one of the followings:
If you want to build and .egg, use the setup.py that comes with the distribution, and install that egg using easy_install.
Copy "cocos" to your project:
$ cp -r cocos $PROJECT_HOMEInclude cocos in your PYTHONPATH:
$ export PYTHONPATH=$PYTHONPATH:/path/to/cocosOr insert cocos in sys.path:
import sys sys.path.insert(0, PATH_TO_COCOS))