Index: tools/telemetry/third_party/gsutilz/third_party/gcs-oauth2-boto-plugin/setup.py |
diff --git a/tools/telemetry/third_party/gsutilz/third_party/gcs-oauth2-boto-plugin/setup.py b/tools/telemetry/third_party/gsutilz/third_party/gcs-oauth2-boto-plugin/setup.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..54cf7e77045a19f2c02c8c6421d4c037d1be3860 |
--- /dev/null |
+++ b/tools/telemetry/third_party/gsutilz/third_party/gcs-oauth2-boto-plugin/setup.py |
@@ -0,0 +1,61 @@ |
+#!/usr/bin/env python |
+# -*- coding: utf-8 -*- |
+# Copyright 2014 Google Inc. |
+# |
+# Licensed under the Apache License, Version 2.0 (the "License"); |
+# you may not use this file except in compliance with the License. |
+# You may obtain a copy of the License at |
+# |
+# http://www.apache.org/licenses/LICENSE-2.0 |
+# |
+# Unless required by applicable law or agreed to in writing, software |
+# distributed under the License is distributed on an "AS IS" BASIS, |
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+# See the License for the specific language governing permissions and |
+# limitations under the License. |
+ |
+"""Setup installation module for gcs-oauth2-boto-plugin.""" |
+ |
+import os |
+from setuptools import find_packages |
+from setuptools import setup |
+ |
+long_desc = """ |
+gcs-oauth2-boto-plugin is a Python application whose purpose is to behave as an |
+auth plugin for the boto auth plugin framework for use with OAuth 2.0 |
+credentials for the Google Cloud Platform. This plugin is compatible with both |
+user accounts and service accounts, and its functionality is essentially a |
+wrapper around the oauth2client package of google-api-python-client with the |
+addition of automatically caching tokens for the machine in a thread- and |
+process-safe fashion. |
+""" |
+ |
+requires = [ |
+ 'boto>=2.29.1', |
+ 'httplib2>=0.8', |
+ 'google-api-python-client>=1.1', |
+ 'pyOpenSSL>=0.13', |
+ # Not using 1.02 because of: |
+ # https://code.google.com/p/socksipy-branch/issues/detail?id=3 |
+ 'SocksiPy-branch==1.01', |
+ 'retry_decorator>=1.0.0', |
+] |
+ |
+setup( |
+ name='gcs-oauth2-boto-plugin', |
+ version='1.9', |
+ url='https://developers.google.com/storage/docs/gspythonlibrary', |
+ download_url=('https://github.com/GoogleCloudPlatform' |
+ '/gcs-oauth2-boto-plugin'), |
+ license='Apache 2.0', |
+ author='Google Inc.', |
+ author_email='gs-team@google.com', |
+ description=('Auth plugin allowing use the use of OAuth 2.0 credentials ' |
+ 'for Google Cloud Storage in the Boto library.'), |
+ long_description=long_desc, |
+ zip_safe=True, |
+ platforms='any', |
+ packages=find_packages(exclude=['third_party']), |
+ include_package_data=True, |
+ install_requires=requires, |
+) |