Moved the default GNUPG home to /tmp for tox-friendliness

This commit is contained in:
Daniel Quinn 2016-02-21 00:29:59 +00:00
parent 440614eddc
commit 809fb8fa1f
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Django==1.9
django-extensions==1.6.1
djangorestframework==3.3.2
filemagic==1.6
langdetect==1.0.5
Pillow==3.0.0

View File

@ -158,7 +158,7 @@ OCR_THREADS = os.environ.get("PAPERLESS_OCR_THREADS")
FORGIVING_OCR = True
# GNUPG needs a home directory for some reason
GNUPG_HOME = os.environ.get("HOME", "/dev/null")
GNUPG_HOME = os.environ.get("HOME", "/tmp")
# Convert is part of the Imagemagick package
CONVERT_BINARY = "/usr/bin/convert"