Closed ekarademir closed 4 years ago
Make all configuration tokens:
download_folder extract_folder bin_folder log_level mongo_version operating_system
configurable from 1) Environment variables, then 2) pymongo_inmemory.ini, then 3) setup.cfg under pymongo_inmemory, then 4) A sensible default value.
pymongo_inmemory.ini
setup.cfg
pymongo_inmemory
All config should be obtained from conf function in _utils.py
conf
_utils.py
Environment variables should be all capitals and prefixed by PYMONGOIM__.
PYMONGOIM__
Make all configuration tokens:
configurable from 1) Environment variables, then 2)
pymongo_inmemory.ini
, then 3)setup.cfg
underpymongo_inmemory
, then 4) A sensible default value.All config should be obtained from
conf
function in_utils.py
Environment variables should be all capitals and prefixed by
PYMONGOIM__
.