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