import os

from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()

version = '0.3.3b2'

requires = [
    'pymongo >= 2.8,<3',  # CI fails to build unless a version (same as in eduid_am) is required here :(
    'eduid_am >= 0.6.0, < 0.7.0',
    'eduid_userdb >= 0.2.6b2',
]

testing_extras = [
    'nose==1.2.1',
    'nosexcover==1.0.8',
    'coverage==3.6',
    'freezegun==0.3.8'
]


setup(name='eduid-dashboard-amp',
      version=version,
      description='eduID Dashboard Attribute Manager Plugin',
      long_description=README + '\n\n' + CHANGES,
      # TODO: add classifiers
      classifiers=[
          # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      ],
      keywords='',
      author='SUNET',
      url='https://github.com/SUNET/eduid-dashboard-amp',
      license='BSD',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      extras_require={
        'testing': testing_extras,
        },
      test_suite='eduid_dashboard_amp',
      entry_points="""
      [eduid_am.attribute_fetcher]
      eduid_dashboard = eduid_dashboard_amp:attribute_fetcher

      [eduid_am.plugin_init]
      eduid_dashboard = eduid_dashboard_amp:plugin_init
      """,
      )

import os

from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()

version = '0.3.3'

requires = [
    'pymongo >= 2.8,<3',  # CI fails to build unless a version (same as in eduid_am) is required here :(
    'eduid_am >= 0.6.0, < 0.7.0',
    'eduid_userdb >= 0.2.6b2',
]

testing_extras = [
    'nose==1.2.1',
    'nosexcover==1.0.8',
    'coverage==3.6',
    'freezegun==0.3.8'
]


setup(name='eduid-dashboard-amp',
      version=version,
      description='eduID Dashboard Attribute Manager Plugin',
      long_description=README + '\n\n' + CHANGES,
      # TODO: add classifiers
      classifiers=[
          # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      ],
      keywords='',
      author='SUNET',
      url='https://github.com/SUNET/eduid-dashboard-amp',
      license='BSD',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      extras_require={
        'testing': testing_extras,
        },
      test_suite='eduid_dashboard_amp',
      entry_points="""
      [eduid_am.attribute_fetcher]
      eduid_dashboard = eduid_dashboard_amp:attribute_fetcher

      [eduid_am.plugin_init]
      eduid_dashboard = eduid_dashboard_amp:plugin_init
      """,
      )

Bump version