""" 
Alternative WSGI entry-point that uses requirements/vendor for
dependencies.

"""
import os, sys

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, base_dir)

from cc.deploy.paths import add_vendor_lib
add_vendor_lib()

# Set default settings and instantiate application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cc.settings.default")

from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()

""" 
Alternative WSGI entry-point that uses requirements/vendor for
dependencies.

"""
import os, sys

base_dir = os.path.dirname(
    os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0, base_dir)

from cc.deploy.paths import add_vendor_lib
add_vendor_lib()

# Set default settings and instantiate application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cc.settings.default")

from django.core.handlers.wsgi import WSGIHandler
application = WSGIHandler()

Fix path addition in vendor-wsgi.py.
Fix path addition in vendor-wsgi.py.
