Application-wide environment variables.

Some global behavior can be switched by environment variable toggles. For example running any neoscore program with the environment variable NEOSCORE_DEBUG to some truthy value will enable some debugging information like Qt bounding box outlines.

neoscore.core.env.HEADLESS = True

Whether to run the Qt application in headless mode.

Set by the environment variable NEOSCORE_HEADLESS.

neoscore.core.env.DEBUG = False

Whether debug mode is enabled.

Set by the environment variable NEOSCORE_DEBUG.