Mercurial > hg > cropresize
diff setup.py @ 8:eb0f4870a019 default tip
depend on pillow which exists
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 08:04:33 -0800 |
parents | 230fb4ae30c7 |
children |
line wrap: on
line diff
--- a/setup.py Mon Mar 14 14:32:06 2011 -0700 +++ b/setup.py Tue Nov 03 08:04:33 2020 -0800 @@ -8,16 +8,8 @@ except: description = '' -# Dependency check at run time -# If PIL is not found, then it is added in the ``install_requires`` list -install_requires = [] # Empty list if PIL is found -try: - try: - require('PIL') - except DistributionNotFound: - require('Image') -except DistributionNotFound: - install_requires = ['PIL'] + +install_requires = ['pillow'] version = '0.1.6'