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

Commit 37c4486

Browse files
mctavishcopybara-github
authored andcommitted
Add poetry support.
Thanks to https://github.com/ermakov-oleg for this contribution. Resolves #24 PiperOrigin-RevId: 367498809 Change-Id: I46983c94ba82829b6a2bc328789a9166a4fe6561
1 parent 67e3b8c commit 37c4486

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ def ReadConfig(section, value, default):
108108
author='Google Inc.',
109109
version=version,
110110
install_requires=[
111-
'google-api-python-client==1.8.4'
112-
if sys.version_info.major < 3 else 'google-api-python-client',
113-
'google-auth==1.8.2'
114-
if sys.version_info.major < 3 else 'google-auth>=1.0.0',
111+
'google-api-python-client==1.8.4; python_version < "3.0"',
112+
'google-api-python-client; python_version > "3.0"',
113+
'google-auth==1.8.2; python_version < "3.0"',
114+
'google-auth>=1.0.0; python_version > "3.0"',
115115
'google-auth-httplib2',
116116
'google-api-core==1.15.0'
117117
if sys.version_info.major < 3 else 'google-api-core',

0 commit comments

Comments
 (0)