blob: ddb2844ad095ecd71eeef9f5079436d965e9d337 (
plain)
1
2
3
4
5
6
7
8
9
|
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")
)
|