#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from __future__ import with_statement
import sys
from distutils.core import setup
from ydiff import META_INFO as _meta

if sys.hexversion < 0x02060000:
    raise SystemExit("*** Requires python >= 2.6.0")

with open('README.rst') as doc:
    long_description = doc.read()
with open('CHANGES.rst') as changes:
    long_description += changes.read()

setup(
    name='ydiff',
    version=_meta['version'],
    author=_meta['author'],
    license=_meta['license'],
    description=_meta['description'],
    long_description=long_description,
    keywords=_meta['keywords'],
    url=_meta['url'],
    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Topic :: Utilities',
        'License :: OSI Approved :: BSD License',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX',
        'Operating System :: Unix',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
    py_modules=['ydiff'],
    scripts=['ydiff'],
)

# vim:set et sts=4 sw=4 tw=79:
