Skip to content

Commit

Permalink
Merge pull request #94 from IIIF/python2-fix
Browse files Browse the repository at this point in the history
Fixing python 2.7 build
  • Loading branch information
glenrobson committed Mar 10, 2020
2 parents bd49884 + ad1f9ef commit 128b7d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def run(self):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Software Development :: "
Expand All @@ -49,6 +49,13 @@ def run(self):
'iiif_prezi>=0.2.2',
'jsonschema'
],
extras_require={
':python_version>="3.0"': ["Pillow>=3.2.0"],
':python_version<"3.0"': [
"Pillow==6.2.2",
"zipp==1.2.0"
],
},
test_suite="tests",
tests_require=[
"coverage",
Expand Down

0 comments on commit 128b7d6

Please sign in to comment.