def get_configdir():
if '<STR_LIT>' in os.environ:<EOL><INDENT>return os.path.join(os.environ['<STR_LIT>'], '<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' in os.environ and os.name != '<STR_LIT>':<EOL><INDENT>return os.path.join(os.environ['<STR_LIT>'], '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>return os.path.join(os.path.expanduser('<STR_LIT>'), '<STR_LIT>')<EOL>
Return string representing the configuration directory.

    Default is $HOME/.config/glymur.  You can override this with the
    XDG_CONFIG_HOME environment variable.