#!/usr/bin/env python
"""
.. module:: manage.py
"""

from __future__ import absolute_import, unicode_literals

import os
import sys

if __name__ == '__main__':
    ENV = os.environ.get('CMS_ENV', 'dev')
    print('MANAGE ENV is {}'.format(ENV))
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local')

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)
