I'm trying to use this library for setting up a YAML config file for a python project, but I don't want to use the suggested directories for configuration e.g. ~/.config/app or /etc/app for linux. I've tried setting the path using an environment variable as outlined in the documentation here.
Does anybody have any experience of getting this to work using the environment variables?
I can't really understand why the API doesn't just let you pass a file path, this approach seems unnecessarily complex to me. I suspect there is a good reason I just don't understand! I would have thought in most cases the config file will be in your python project directory?