diff --git a/my/cfg.py b/my/cfg.py new file mode 100644 index 0000000..f339b98 --- /dev/null +++ b/my/cfg.py @@ -0,0 +1,19 @@ +""" +A helper to allow configuring the modules dynamically. + +Usage: + + from my.cfg import config + +After that, you can set config attributes: + + from types import SimpleNamespace + config.twitter = SimpleNamespace( + export_path='/path/to/twitter/exports', + ) +""" +# TODO later, If I have config stubs that might be unnecessary too.. + +from . import init + +import my.config as config