# Path: staticgen/conf.py
# class StaticgenConf(AppConf):
#     class Meta:
#     SITEMAP_URL = None
#     FAIL_SILENTLY = True
#     MULTITHREAD = True
#     BUCKET_NAME = getattr(settings, 'AWS_STORAGE_BUCKET_NAME', '')
#     STATIC_SITE_DOMAIN = None


from boto import connect_s3
from .conf import settings
# -*- coding: utf-8 -*-

from __future__ import unicode_literals




def get_static_site_domain():
    static_site_domain = settings.STATICGEN_STATIC_SITE_DOMAIN
    if static_site_domain is None:
        connection = connect_s3(

# Path: staticgen/conf.py
# class StaticgenConf(AppConf):
#     class Meta:
#     SITEMAP_URL = None
#     FAIL_SILENTLY = True
#     MULTITHREAD = True
#     BUCKET_NAME = getattr(settings, 'AWS_STORAGE_BUCKET_NAME', '')
#     STATIC_SITE_DOMAIN = None


# Path: staticgen/helpers.py
from boto import connect_s3
from .conf import settings

# -*- coding: utf-8 -*-

from __future__ import unicode_literals




def get_static_site_domain():
    static_site_domain = settings.STATICGEN_STATIC_SITE_DOMAIN
    if static_site_domain is None:
        connection = connect_s3(

            settings.AWS_ACCESS_KEY_ID,