define required environment variables for docs build

This commit is contained in:
Jan Dittberner 2015-01-10 18:36:49 +01:00
parent 6ce322cecc
commit be38e74ffb
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ import os
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.join('..', 'gvapgsql')))
os.environ['GVAPGSQL_BROKER_URL'] = 'amqp://localhost'
os.environ['GVAPGSQL_DBADMIN_HOST'] = 'localhost'
os.environ['GVAPGSQL_DBADMIN_PORT'] = '5432'
os.environ['GVAPGSQL_DBADMIN_USER'] = 'gvapgsql'
os.environ['GVAPGSQL_DBADMIN_PASSWORD'] = 'gvapgsql'
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.