From 23423bc5da3d52ca859ff6192d58d25dda10d8c3 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 21 Dec 2019 10:55:15 +0530 Subject: [PATCH] Update requirements --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5f68f6e..5f30911 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,8 @@ with open('README.md', encoding='utf-8') as f: long_description = f.read() +requirements = ['pillow-simd' if get_dist('pillow-simd') is not None else 'pillow'] + setup( name='imgp', version=version, @@ -27,7 +29,7 @@ python_requires='>=3.5', # requires pip>=9.0.0 platforms=['any'], py_modules=['imgp'], - install_requires=['Pillow'], + install_requires=requirements, include_package_data=True, entry_points={ 'console_scripts': ['imgp=imgp:main']