from setuptools import setup
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='flask-swagger-ui',
    version='3.0.12a',
    description='Swagger UI blueprint for Flask',
    long_description=long_description,

    url='https://github.com/sveint/flask-swagger-ui',

    author='Svein Tore Koksrud Seljebotn',
    author_email='sveint@gmail.com',
    license='MIT',

    classifiers=[
        'Development Status :: 4 - Beta',

        'Intended Audience :: Developers',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
    ],

    keywords='flask swagger',
    packages=['flask_swagger_ui'],

    package_data={
        'flask_swagger_ui': [
            'README.md',
            'templates/*.html',
            'dist/VERSION',
            'dist/LICENSE',
            'dist/README.md',
            'dist/*.html',
            'dist/*.js',
            'dist/*.css',
            'dist/*.png'
        ],
    }
)

from setuptools import setup
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'flask_swagger_ui/README.md'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='flask-swagger-ui',
    version='3.0.12a',
    description='Swagger UI blueprint for Flask',
    long_description=long_description,
    zip_safe=False,

    url='https://github.com/sveint/flask-swagger-ui',

    author='Svein Tore Koksrud Seljebotn',
    author_email='sveint@gmail.com',
    license='MIT',

    classifiers=[
        'Development Status :: 4 - Beta',

        'Intended Audience :: Developers',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
    ],

    keywords='flask swagger',
    packages=['flask_swagger_ui'],

    package_data={
        'flask_swagger_ui': [
            'README.md',
            'templates/*.html',
            'dist/VERSION',
            'dist/LICENSE',
            'dist/README.md',
            'dist/*.html',
            'dist/*.js',
            'dist/*.css',
            'dist/*.png'
        ],
    }
)

Mark the module as not zip safe.
Mark the module as not zip safe.

The template finder code in Flask doesn't handle zipped eggs well,
and thus won't find index.template.html.  This makes the module
crash when attempting to load the UI.
