Skip to content

Commit

Permalink
Trying another method of handling different versions of Pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Jan 27, 2020
1 parent cdc29bb commit a26caa7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@
long_description=open('README').read(),
url='http://github.com/IIIF/image-api',
install_requires=[
"Pillow>=3.2.0;python_version=>3.0",
"Pillow<7.0.0;python_version<3.0",
"bottle>=0.12.1",
"python-magic>=0.4.12",
"lxml>=3.7.0"
],
extras_require={
':python_version>="3.0"': ["Pillow>=3.2.0"],
':python_version<"3.0"': ["Pillow<7.0.0"],
},
test_suite="tests",
tests_require=["mock"])

0 comments on commit a26caa7

Please sign in to comment.