ordigi/elodie/constants.py

27 lines
784 B
Python
Raw Normal View History

2016-01-08 23:49:06 +01:00
"""
Settings used by Elodie.
"""
from os import path
2016-01-08 23:49:06 +01:00
#: If True, debug messages will be printed.
2016-01-27 16:27:12 +01:00
debug = False
2016-01-08 23:49:06 +01:00
#: Directory in which to store Elodie settings.
application_directory = '{}/.elodie'.format(path.expanduser('~'))
2016-01-08 23:49:06 +01:00
#: File in which to store details about media Elodie has seen.
hash_db = '{}/hash.json'.format(application_directory)
2016-01-08 23:49:06 +01:00
#: File in which to store geolocation details about media Elodie has seen.
location_db = '{}/location.json'.format(application_directory)
2016-01-08 23:49:06 +01:00
#: Elodie installation directory.
script_directory = path.dirname(path.dirname(path.abspath(__file__)))
2016-01-08 23:49:06 +01:00
#: Path to Elodie's ExifTool config file.
exiftool_config = path.join(script_directory, 'configs', 'ExifTool_config')
#: Accepted language in responses from MapQuest
accepted_language = 'en'