# # their next release.
# py2_only_install_requires.append('pbr==0.5.22')
py2_only_install_requires.append('mock') # mock is in the stdlib for 3.3+
+ # PyPI version (1.4.2) does not have proper Python 3 support
+ py2_only_install_requires.append('ExifRead')
install_requires = [
'gunicorn',
'oauthlib',
'unidecode',
'jsonschema',
- 'ExifRead', # TODO(berker): Install develop branch for Python 3
'PasteDeploy',
'requests',
'pyld',
# 'Pillow',
] + py2_only_install_requires
+dependency_links = []
+if not PY2:
+ # PyPI version (1.4.2) does not have proper Python 3 support
+ dependency_links.append('https://github.com/ianare/exif-py/zipball/develop#egg=ExifRead-2.0.0')
+ install_requires.append('ExifRead>=2.0.0')
+
with open(READMEFILE, encoding="utf-8") as fobj:
long_description = fobj.read()
include_package_data = True,
# scripts and dependencies
install_requires=install_requires,
+ dependency_links=dependency_links,
test_suite='nose.collector',
entry_points="""\
[console_scripts]
[testenv]
usedevelop = True
-whitelist_externals = sh
+# for ExifRead 2.0.0
+install_command = pip install --process-dependency-links --pre {opts} {packages}
commands = py.test ./mediagoblin/tests --boxed
deps =
lxml
Pillow
- # exif-py 1.4.2 does not yet have proper py3 support,
- # so for now...
- git+https://github.com/ianare/exif-py.git@develop