Advanced topics¶
Environment settings¶
Options in the pyglet.options dictionary can have defaults set
through the operating system’s environment variable. The following table
shows which environment variable is used for each option:
Environment variable pyglet.optionskeyType Default value PYGLET_AUDIOaudioList of strings directsound,openal,alsa,silentPYGLET_DEBUG_GLdebug_glBoolean 1[1]
| [1] | Defaults to 1 unless Python is run with -O or from a
frozen executable. |