# Path: udon/boot.py
# def fix_path():
#     if exists(APPENGINE_DIR) and APPENGINE_DIR not in sys.path:
#         sys.path.insert(1, APPENGINE_DIR)
# 
#     if SITEPACKAGES_DIR not in sys.path:
#         sys.path.insert(1, SITEPACKAGES_DIR)


from udon.boot import fix_path
from django.core.wsgi import get_wsgi_application
from djangae.wsgi import DjangaeApplication
from djangae.utils import on_production
import os
"""
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
"""
"""
WSGI config for udon project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""


# Path: udon/boot.py
# def fix_path():
#     if exists(APPENGINE_DIR) and APPENGINE_DIR not in sys.path:
#         sys.path.insert(1, APPENGINE_DIR)
# 
#     if SITEPACKAGES_DIR not in sys.path:
#         sys.path.insert(1, SITEPACKAGES_DIR)


# Path: udon/wsgi.py
from udon.boot import fix_path
from django.core.wsgi import get_wsgi_application
from djangae.wsgi import DjangaeApplication
from djangae.utils import on_production
import os

"""
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
"""
"""
WSGI config for udon project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""


fix_path()