Skip to content

Commit

Permalink
Making enum34 dependency conditional on Python version. (#3402)
Browse files Browse the repository at this point in the history
Fixes #3398.
  • Loading branch information
dhermes authored May 11, 2017
1 parent 2ad4ce8 commit b59b854
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/google-cloud-vision/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@


REQUIREMENTS = [
'enum34',
'google-cloud-core >= 0.24.0, < 0.25dev',
'gapic-google-cloud-vision-v1 >= 0.90.3, < 0.91dev',
]
EXTRAS_REQUIRE = {
':python_version<"3.4"': ['enum34'],
}

setup(
name='google-cloud-vision',
Expand All @@ -67,5 +69,6 @@
],
packages=find_packages(exclude=('tests*',)),
install_requires=REQUIREMENTS,
extras_require=EXTRAS_REQUIRE,
**SETUP_BASE
)

0 comments on commit b59b854

Please sign in to comment.