#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import os
import re
import sys


# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv or 'develop' in sys.argv:
    os.chdir('fluent_dashboard')
    try:
        from django.core import management
        management.call_command('compilemessages', stdout=sys.stderr, verbosity=1)
    except ImportError:
        if 'sdist' in sys.argv:
            raise
    finally:
        os.chdir('..')


def read(*parts):
    file_path = path.join(path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()


def find_version(*parts):
    version_file = read(*parts)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
    if version_match:
        return str(version_match.group(1))
    raise RuntimeError("Unable to find version string.")


setup(
    name='django-fluent-dashboard',
    version=find_version('fluent_dashboard', '__init__.py'),
    license='Apache 2.0',

    install_requires=[
        'django-admin-tools>=0.5.2',
        'future>=0.12.2',
    ],
    requires=[
        'Django (>=1.5)',
    ],
    extras_require={
        'cachestatus': ['dashboardmods>=0.2.2', 'feedparser', 'python-varnish'],
    },

    description='An improved django-admin-tools dashboard for Django projects',
    long_description=read('README.rst'),

    author='Diederik van der Boor',
    author_email='opensource@edoburu.nl',

    url='https://github.com/edoburu/django-fluent-dashboard',
    download_url='https://github.com/edoburu/django-fluent-dashboard/zipball/master',

    packages=find_packages(),
    include_package_data=True,

    zip_safe=False,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Framework :: Django',
        'Framework :: Django :: 1.4',
        'Framework :: Django :: 1.5',
        'Framework :: Django :: 1.6',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)

@@ -1192,17 +1192,17 @@
 go (%3E=1.
-5
+7
 )',%0A    
@@ -1799,16 +1799,29 @@
  :: 
-4 - Beta
+5 - Production/Stable
 ',%0A 
@@ -2089,57 +2089,8 @@
 n',%0A
-        'Programming Language :: Python :: 2.6',%0A
     
@@ -2226,17 +2226,115 @@
 on :: 3.
-3
+4',%0A        'Programming Language :: Python :: 3.5',%0A        'Programming Language :: Python :: 3.6
 ',%0A     
@@ -2393,17 +2393,17 @@
 go :: 1.
-4
+7
 ',%0A     
@@ -2431,17 +2431,17 @@
 go :: 1.
-5
+8
 ',%0A     
@@ -2469,17 +2469,17 @@
 go :: 1.
-6
+9
 ',%0A     
@@ -2499,33 +2499,34 @@
  :: Django :: 1.
-7
+10
 ',%0A        'Fram
@@ -2538,33 +2538,72 @@
  :: Django :: 1.
-8
+11',%0A        'Framework :: Django :: 2.0
 ',%0A        'Topi

fix classifiers