aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-02-12 22:31:25 +0300
committerBonfaceKilz2021-02-12 22:31:25 +0300
commit9dd23ef8c8ed003be130c212374ffa71f230c463 (patch)
tree0a97e37968e143129002c1a9daf5390a47358b75 /gn3/settings.py
parentadb9a6e3d570c86cf902d6293b30fc1f0f27df82 (diff)
downloadgenenetwork3-9dd23ef8c8ed003be130c212374ffa71f230c463.tar.gz
Add configuration file for the project
Diffstat (limited to 'gn3/settings.py')
-rw-r--r--gn3/settings.py9
1 files changed, 9 insertions, 0 deletions
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())
+}