"""Configuration parameters for the package."""

from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import

from os.path import expanduser, join, abspath, dirname

from future import standard_library
standard_library.install_aliases()

from os import getenv
from pprint import pprint
from requests import get

GOOGLE_OAUTH_CLIENT_ID = getenv('GOOGLE_OAUTH_CLIENT_ID')
GOOGLE_OAUTH_CLIENT_SECRET = getenv('GOOGLE_OAUTH_CLIENT_ID')
GOOGLE_API_URL = 'https://accounts.google.com/o/oauth2/auth'
SCOPE = ['https://www.googleapis.com/auth/userinfo.email',
         'https://www.googleapis.com/auth/userinfo.profile']


USER_CONFIG_DIR = join(expanduser('~'), '.gobble')
TOKEN_FILEPATH = join(USER_CONFIG_DIR, 'token')

ASSETS_DIR = abspath(join(dirname(__file__), '..', 'assets'))
EXAMPLES_DIR = abspath(join(ASSETS_DIR, 'examples'))

OS_HOST = 'next.openspending.org'
OS_PORT = None

SCHEMAS_HOST = 'http://schemas.datapackages.org/'
FISCAL_SCHEMA = get(SCHEMAS_HOST + 'fiscal-data-package.json').json()
DATAPACKAGE_SCHEMA = get(SCHEMAS_HOST + 'data-package.json').json()
TABULAR_SCHEMA = get(SCHEMAS_HOST + 'tabular-data-package.json').json()
SCHEMA_DETECTION_THRESHOLD = 0.5

if __name__ == '__main__':
    pprint({k: v for k, v in locals().items() if k == k.upper()})

@@ -69,62 +69,23 @@
 ort 
-unicode_literals%0Afrom __future__ import print_function
+absolute_import
 %0Afro
@@ -140,80 +140,62 @@
 ort 
-absolute_import%0A%0Afrom os.path import expanduser, join, abspath, dirname%0A
+print_function%0Afrom __future__ import unicode_literals
 %0Afro
@@ -227,16 +227,17 @@
 library%0A
+%0A
 standard
@@ -264,16 +264,71 @@
 ases()%0A%0A
+from os.path import expanduser, join, abspath, dirname%0A
 from os 
@@ -393,16 +393,97 @@
 rt get%0A%0A
+# from gobble.utilities import Settings%0A%0AUSER_EMAIL = 'mickey.mouse@disney.com'%0A%0A
 GOOGLE_O
@@ -984,14 +984,21 @@
 R, '
-exampl
+fiscal-packag
 es')
@@ -1344,16 +1344,85 @@
  = 0.5%0A%0A
+VALIDATION_FEEDBACK = %7B'message'%7D%0A%0A# settings = Settings(__name__)%0A%0A%0A
 if __nam

Tweak the config: add USER_EMAIL and VALIDATION_FEEDBACK, fix EXAMPLE_DIR.