#!/usr/bin/env python

from setuptools import setup, find_packages

with open('moya/_version.py') as f:
    exec(f.read())

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


classifiers = [
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5"
]

setup(
    name='moya',
    version=VERSION,
    description="web development platform",
    long_description=long_description,
    zip_safe=False,
    license="MIT",
    author="Will McGugan",
    author_email="will@willmcgugan.com",
    url="http://www.moyaproject.com",

    entry_points={
        "console_scripts": [
            'moya = moya.command.app:main',
            'moya-pm = moya.command.moyapi:main',
            'moya-srv = moya.command.moyasrv:main',
            'moya-doc = moya.command.moyadoc:main'
        ]
    },
    scripts=[
        'scripts/moya-workon',
    ],
    platforms=['any'],
    packages=find_packages(),
    include_package_data=True,
    exclude_package_data={'': ['_*', 'docs/*']},

    classifiers=classifiers,
    install_requires=[
        'pyparsing >= 2.0.7',
        'webob>=1.5,<2',
        'sqlalchemy',
        'pytz',
        'pygments',
        'fs >= 0.5.4',
        'iso8601',
        'babel>2.0',
        'postmarkup',
        'polib',
        'pillow != 3.0.0',  # 3.0.0 version had an incompatible exif change
        'pymysql',
        'passlib',
        'commonmark >= 0.6.3',
        'requests',
        'lxml',
        'colorama',
        'premailer',
        'watchdog',
        'bleach',
        'beautifulsoup4',
        'tzlocal'
    ],
    extras_require={
        ':sys_platform=="linux2" or sys_platform=="linux3"': ["pyinotify"],
        'dev': ['notify2']
    },
    setup_requires=["setuptools_git >= 0.3"]
)

#!/usr/bin/env python

from setuptools import setup, find_packages

with open('moya/_version.py') as f:
    exec(f.read())

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


classifiers = [
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5"
]

setup(
    name='moya',
    version=VERSION,
    description="web development platform",
    long_description=long_description,
    zip_safe=False,
    license="MIT",
    author="Will McGugan",
    author_email="will@willmcgugan.com",
    url="http://www.moyaproject.com",

    entry_points={
        "console_scripts": [
            'moya = moya.command.app:main',
            'moya-pm = moya.command.moyapi:main',
            'moya-srv = moya.command.moyasrv:main',
            'moya-doc = moya.command.moyadoc:main'
        ]
    },
    scripts=[
        'scripts/moya-workon',
    ],
    platforms=['any'],
    packages=find_packages(),
    include_package_data=True,
    exclude_package_data={'': ['_*', 'docs/*']},

    classifiers=classifiers,
    install_requires=[
        'pyparsing == 2.1.5',
        'webob>=1.5,<2',
        'sqlalchemy',
        'pytz',
        'pygments',
        'fs >= 0.5.4',
        'iso8601',
        'babel>2.0',
        'postmarkup',
        'polib',
        'pillow != 3.0.0',  # 3.0.0 version had an incompatible exif change
        'pymysql',
        'passlib',
        'commonmark >= 0.6.3',
        'requests',
        'lxml',
        'colorama',
        'premailer',
        'watchdog',
        'bleach',
        'beautifulsoup4',
        'tzlocal'
    ],
    extras_require={
        ':sys_platform=="linux2" or sys_platform=="linux3"': ["pyinotify"],
        'dev': ['notify2']
    },
    setup_requires=["setuptools_git >= 0.3"]
)

bump pyparsing