import ast
import re
from setuptools import setup

_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('src/flask_cachecontrol/__init__.py', 'rb') as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode('utf-8')).group(1)))

setup(
    name='Flask-CacheControl',
    version=version,
    url='https://github.com/twiebe/Flask-CacheControl',
    license='BSD',
    author='Thomas Wiebe',
    author_email='code@heimblick.net',
    description='Set Cache-Control headers on the Flask response',
    long_description=open('README.md', 'r').read(),
    long_description_content_type="text/markdown",
    package_dir={'': 'src'},
    packages=['flask_cachecontrol'],
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    install_requires=[
        'Flask',
    ],
    python_requires='>=3.3',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)
import ast
import re
from setuptools import setup

_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('src/flask_cachecontrol/__init__.py', 'rb') as f:
    version = str(ast.literal_eval(_version_re.search(
        f.read().decode('utf-8')).group(1)))

setup(
    name='Flask-CacheControl',
    version=version,
    url='https://github.com/twiebe/Flask-CacheControl',
    license='BSD',
    author='Thomas Wiebe',
    author_email='code@heimblick.net',
    description='Set Cache-Control headers on the Flask response',
    long_description=open('README.md', 'r').read(),
    long_description_content_type="text/markdown",
    package_dir={'': 'src'},
    packages=['flask_cachecontrol'],
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    install_requires=[
        'Flask',
    ],
    extras_require={'test': ["pytest"]},
    python_requires='>=3.3',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)
Add testing requires