#!/usr/bin/env python3

from setuptools import setup, find_packages
from os         import path
import sys

if sys.version_info < (3, 2):
    print('Whalelinter requires at least Python 3.2 to run.')
    sys.exit(1)

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

try:
    import pypandoc
    long_description = pypandoc.convert('README.md', 'rst')
    print(pypandoc.convert('README.md', 'rst'))
except(IOError, ImportError):
    long_description = open(path.join(here, 'README.md')).read()

version = '0.0.2'

setup(
    name='whalelinter',
    version=version,
    packages=find_packages(),
    scripts=['bin/whale-linter'],
    author="Jerome Pin",
    author_email="jerome@jeromepin.fr",
    maintainer="Jerome Pin",
    maintainer_email="jerome@jeromepin.fr",
    description="A simple non professional Dockerfile linter",
    long_description=long_description,
    include_package_data=True,
    license='MIT',
    url='https://github.com/jeromepin/whale-linter',
    download_url='https://github.com/jeromepin/whale-linter/tarball/' + version,
    keywords=['docker', 'linter'],
    platforms='Linux',
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3",
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        "Intended Audience :: System Administrators"
    ]
)

@@ -1123,50 +1123,8 @@
 s=%5B%0A
-        %22Programming Language :: Python%22,%0A
     
@@ -1250,16 +1250,64 @@
 glish%22,%0A
+        %22Operating System :: MacOS :: MacOS X%22,%0A
         

Update setup.py classifiers : Remove Python and add MacOS