from setuptools import setup, find_packages


version = '0.2.1b8'

requires = [
    'setuptools >= 2.2',
    'eduid-userdb >= 0.0.5',
]

# Flavours
webapp_requires = [
    'pysaml2 >= 4.0.3rc1',  # version sync with dashboard to avoid pip catastrophies
    'redis >= 2.10.5',
    'pwgen == 0.4',
    'vccs_client >= 0.4.1',
    'PyNaCl >= 1.0.1',
    'python-etcd >= 0.4.3',
    'PyYAML >= 3.11'
]
webapp_extras = webapp_requires + []

idp_requires = [
    'pysaml2 >= 1.2.0beta2',
    'redis >= 2.10.5',
    'vccs_client >= 0.4.2',
    'PyNaCl >= 1.0.1',
]
idp_extras = idp_requires + []

test_requires = [
    'mock == 1.0.1',
]
testing_extras = test_requires + webapp_extras + [
    'nose',
    'coverage',
    'nosexcover',
]

long_description = open('README.txt').read()

setup(name='eduid-common',
      version=version,
      description="Common code for eduID applications",
      long_description=long_description,
      classifiers=[
          "Programming Language :: Python",
      ],
      keywords='',
      author='NORDUnet A/S',
      author_email='',
      url='https://github.com/SUNET/',
      license='bsd',
      packages=find_packages('src'),
      package_dir={'': 'src'},
      namespace_packages=['eduid_common'],
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=test_requires,
      extras_require={
          'testing': testing_extras,
          'webapp': webapp_extras,
          'idp': idp_extras,
      },
      entry_points="""
      """,
      )

@@ -60,9 +60,9 @@
 2.1b
-8
+9
 '%0A%0Ar
@@ -242,17 +242,16 @@
 tastroph
-i
 es%0A    '

Bump version