#!/usr/bin/env python
from setuptools import setup
import os
import sys


def get_version():
    curdir = os.path.dirname(__file__)
    filename = os.path.join(curdir, 'src', 'psd2svg', 'version.py')
    with open(filename, 'rb') as fp:
        return fp.read().decode('utf8').split('=')[1].strip(" \n'")


def readme():
    with open('README.rst') as f:
        return f.read()


setup(
    name='psd2svg',
    version=get_version(),
    description='Convert PSD file to SVG file',
    long_description=readme(),
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Topic :: Multimedia :: Graphics',
        'Topic :: Multimedia :: Graphics :: Viewers',
        'Topic :: Multimedia :: Graphics :: Graphics Conversion',
    ],
    keywords='photoshop psd svg',
    url='https://github.com/kyamagu/psd2svg',
    author='Kota Yamaguchi',
    author_email='KotaYamaguchi1984@gmail.com',
    license='MIT License',
    package_dir={'': 'src'},
    packages=['psd2svg', 'psd2svg.converter', 'psd2svg.utils'],
    install_requires=[
        'pillow',
        'svgwrite',
        'numpy',
        'psd-tools2>=1.6.1',
        'future',
    ],
    include_package_data=True,
    entry_points={
        'console_scripts': ['psd2svg=psd2svg.__main__:main']
    },
    setup_requires=['pytest-runner'],
    tests_require=['pytest'],
    )

@@ -1315,17 +1315,17 @@
 s2%3E=1.6.
-1
+3
 ',%0A     

update psd-tools2 dependency version