19 lines
384 B
Python
19 lines
384 B
Python
"""
|
|
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
|