Configuring Glue via a startup file#

Glue uses a configuration system to customize aspects such as which data viewers it loads, what link functions to use, and so on. The glue configuration file is called config.py. Glue looks for this file in the following locations, in order:

  • The current working directory

  • The path specified in the GLUERC environment variable, if present

  • The path .glue/config.py within the user’s home directory

The easiest place to start is to just create a config.py file in the current directory where you are launching glue from. If you want to use your customizations to be available for all projects, you can then consider using the GLUERC or .glue approach.