Workaround Debian compatibily layer
This commit is contained in:
parent
751ddeeab6
commit
fdfbfb0658
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -171,7 +171,10 @@ try:
|
|||
except ImportError:
|
||||
requirements.append('Pillow')
|
||||
else:
|
||||
requirements.append('PIL')
|
||||
if 'PILcompat' not in Image.__file__:
|
||||
requirements.append('PIL')
|
||||
else:
|
||||
requirements.append('Pillow')
|
||||
|
||||
if sys.version_info[0] > 2:
|
||||
print >>sys.stderr, 'Python 3 is not supported.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue