"""prawdditions setup.py."""

import re
from codecs import open
from os import path
from setuptools import find_packages, setup


PACKAGE_NAME = 'prawdditions'
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst'), encoding='utf-8') as fp:
    README = fp.read()
with open(path.join(HERE, PACKAGE_NAME, 'const.py'),
          encoding='utf-8') as fp:
    VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)


setup(name=PACKAGE_NAME,
      author='Randall Goodman',
      author_email='randy@kindofabigdeal.org',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: Implementation :: CPython'],
      description='DESCRIPTION.',
      install_requires=['praw >=5.0.0, <6.0'],
      keywords='praw additions',
      license='Simplified BSD License',
      long_description=README,
      packages=find_packages(exclude=['tests', 'tests.*']),
      setup_requires=['pytest-runner ==2.7'],
      tests_require=['betamax >=0.8, <0.9',
                     'betamax-matchers >=0.3.0, <0.4',
                     'betamax-serializers >=0.2, <0.3',
                     'mock ==1.0.1',
                     'pytest ==2.8.7'],
      test_suite='tests',
      url='https://github.com/praw-dev/prawdditions',
      version=VERSION)

@@ -1202,9 +1202,9 @@
 0, %3C
-6
+7
 .0'%5D

Allow praw versions <7.0