Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Use conditional requirements for google-api-core.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 369500403
Change-Id: I0eca3f902a45b8b8ef1f8648f0c7e6797bdef6b0
  • Loading branch information
mctavish authored and Copybara-Service committed Apr 20, 2021
1 parent f3cf7d1 commit 0040dbe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from glob import glob
import os
import re
import sys
from distutils import sysconfig
from setuptools import Extension
from setuptools import setup
Expand Down Expand Up @@ -113,8 +112,8 @@ def ReadConfig(section, value, default):
'google-auth==1.8.2; python_version < "3.0"',
'google-auth>=1.0.0; python_version > "3.0"',
'google-auth-httplib2',
'google-api-core==1.15.0'
if sys.version_info.major < 3 else 'google-api-core',
'google-api-core==1.15.0; python_version < "3.0"',
'google-api-core; python_version > "3.0"',
'pyyaml',
'six>=1.10.0',
],
Expand Down

0 comments on commit 0040dbe

Please sign in to comment.