From 9dd23ef8c8ed003be130c212374ffa71f230c463 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Fri, 12 Feb 2021 22:31:25 +0300 Subject: Add configuration file for the project --- gn3/settings.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gn3/settings.py (limited to 'gn3/settings.py') diff --git a/gn3/settings.py b/gn3/settings.py new file mode 100644 index 0000000..d8d5986 --- /dev/null +++ b/gn3/settings.py @@ -0,0 +1,9 @@ +"""Configuration settings for this project""" + +import tempfile +import os + +APP_DEFAULTS = { + "GEMMA_WRAPPER_CMD": os.environ.get("GEMMA_WRAPPER", "gemma-wrapper"), + "TMPDIR": os.environ.get("TMPDIR", tempfile.gettempdir()) +} -- cgit v1.2.3