import json import os import pkg_resources import yaml grass_session_token = 'mysessiontoken' grass_expiration_time = 600000000 DYNAMODB_TABLE_NAME = 'qa-ows-request-authorization' config_file_path = os.getenv( "OWSDEV_CONFIG", os.path.expanduser('~/.owsdev.config.yml')) with open(config_file_path, 'rb') as config_file: config = yaml.load(config_file) services_path = pkg_resources.resource_filename('owsdev', 'data/services.json') with open(services_path, 'rt') as services_file: services_json = json.load(services_file)