blob: c66a3e5be85be6cc77e41e6bcd1de9e035a3d518 (
plain)
1
2
3
4
5
6
|
import subprocess
from dynaconf import Dynaconf
settings = Dynaconf(settings_file="settings.toml", environments=True,)
GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip().decode('utf-8')
|