import os
from setuptools import setup

README = """
See the README on `GitHub
<https://github.com/uw-it-aca/myuw>`_.
"""

# The VERSION file is created by travis-ci, based on the tag name
version_path = 'myuw/VERSION'
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

url = "https://github.com/uw-it-aca/myuw"
setup(
    name='MyUW',
    version=VERSION,
    packages=['myuw'],
    author="UW-IT AXDD",
    author_email="aca-it@uw.edu",
    include_package_data=True,
    install_requires=[
        'Django==1.10.5',
        'ordereddict',
        'simplejson',
        'django-compressor',
        'BeautifulSoup',
        'urllib3==1.10.2',
        'django-templatetag-handlebars',
        'django-userservice==1.2.1',
        'unittest2',
        'AuthZ-Group',
        'python-binary-memcached',
        'UW-RestClients>=2.2,<3.0',
        'UW-RestClients-SWS>=0.5.8,<1.0',
        'UW-RestClients-PWS>=0.5,<1.0',
        'UW-RestClients-HFS>=0.5,<1.0',
        'UW-RestClients-GWS>=0.2,<1.0',
        'UW-RestClients-GradePage>=0.1,<1.0',
        'Django-SupportTools',
        'django_mobileesp',
        'django_client_logger',
        'yajl',
    ],
    license='Apache License, Version 2.0',
    description=('MyUW is the portal of the University of Washington'),
    long_description=README,
    url=url,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ],
)

import os
from setuptools import setup

README = """
See the README on `GitHub
<https://github.com/uw-it-aca/myuw>`_.
"""

# The VERSION file is created by travis-ci, based on the tag name
version_path = 'myuw/VERSION'
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

url = "https://github.com/uw-it-aca/myuw"
setup(
    name='MyUW',
    version=VERSION,
    packages=['myuw'],
    author="UW-IT AXDD",
    author_email="aca-it@uw.edu",
    include_package_data=True,
    install_requires=[
        'Django==1.10.5',
        'ordereddict',
        'simplejson',
        'django-compressor',
        'BeautifulSoup',
        'urllib3==1.10.2',
        'django-templatetag-handlebars',
        'django-userservice==1.2.1',
        'unittest2',
        'AuthZ-Group',
        'python-binary-memcached',
        'UW-RestClients>=2.2,<3.0',
        'UW-RestClients-SWS>=0.5.9,<1.0',
        'UW-RestClients-PWS>=0.5,<1.0',
        'UW-RestClients-HFS>=0.5,<1.0',
        'UW-RestClients-GWS>=0.2,<1.0',
        'UW-RestClients-GradePage>=0.1,<1.0',
        'Django-SupportTools',
        'django_mobileesp',
        'django_client_logger',
        'yajl',
    ],
    license='Apache License, Version 2.0',
    description=('MyUW is the portal of the University of Washington'),
    long_description=README,
    url=url,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ],
)

update uw_sws version