1. Pyglet
  2. Untitled project
  3. pyglet


pyglet /

Filename Size Date modified Message
166 B
Add coverage configuration for use with pytest-cov
424 B
Ignore profiling output.
1.2 KB
Added tag pyglet-1.2.2 for changeset 12bb2e852335
5.2 KB
Rename pyglet.text -> pyglet.font.
1.5 KB
Update license file for 2008 and fix "the pyglet" typo.
505 B
Add release notes to the manifest.
1.0 KB
Added Claudio Canepa to the contributors list
1.8 KB
README edited online with Bitbucket
9.9 KB
Update release notes. Copy 1.2.3 notes and add preliminary text for 1.3.0.
2.3 KB
Fix api generation. Start adding documentation for new test framework.
565 B
Remove deprecated option from test configuration.
26 B
Create a universal wheel for both py2 and py3. Add future as dependency for wheel only.
2.4 KB
Create a universal wheel for both py2 and py3. Add future as dependency for wheel only.



pyglet provides an object-oriented programming interface for developing games and other visually-rich applications for Windows, Mac OS X and Linux.


pyglet runs with Python 2.6+ and also with Python 3 through 2to3 tool (which is executed automatically when installing). pyglet works on the following operating systems:

  • Windows XP or later

  • Mac OS X 10.3 or later

  • Linux, with the following libraries (most recent distributions will have these in a default installation):

    • OpenGL and GLX
    • GDK 2.0+ or PIL (required for loading images other than PNG and BMP)
    • Pulseaudio or OpenAL (required for playing audio)


If you're reading this README from a source distribution, install pyglet with:

python setup.py install

This is required for Python 3 as the code needs to be processed by 2to3 during the installation.

For Python 2 there are no compilation steps during the installation; if you prefer, you can simply add this directory to your PYTHONPATH and use pyglet without installing it.

The documentation is available online at pyglet.org, but if you want to build the documentation yourself, please check the README file in the doc directory.


pyglet has an active developer and user community. If you find a bug, please open an issue at https://bitbucket.org/pyglet/pyglet/issues.

Please join us on the mailing list at:


For more information and an RSS news feed, visit http://www.pyglet.org


Because of its interactive nature pyglet uses a custom test runner which is invoked with:

% python tests/test.py

The test runner is described in more detail in the tests/test.py docstring.