import os
from setuptools import find_packages, setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name='zplgrf',
    version='1.4.1',
    description='Tools to work with ZPL GRF images and CUPS',
    long_description=read('README.rst'),
    author='Kyle MacFarlane',
    author_email='kyle@deletethetrees.com',
    url='https://github.com/kylemacfarlane/zplgrf',
    license='GPLv3',

    packages=find_packages('src'),
    package_dir={'': 'src'},
    install_requires=[
        'setuptools',
        'pillow'
    ],
    extras_require={
        'bindings': ['ghostscript']
    },
    test_suite='zplgrf.tests',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5'
    ]
)
