| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 # -*- coding: utf-8 -*- |
| 3 # Copyright 2014 Google Inc. |
| 4 # |
| 5 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 # you may not use this file except in compliance with the License. |
| 7 # You may obtain a copy of the License at |
| 8 # |
| 9 # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 # |
| 11 # Unless required by applicable law or agreed to in writing, software |
| 12 # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 # See the License for the specific language governing permissions and |
| 15 # limitations under the License. |
| 16 |
| 17 """Setup installation module for gcs-oauth2-boto-plugin.""" |
| 18 |
| 19 import os |
| 20 from setuptools import find_packages |
| 21 from setuptools import setup |
| 22 |
| 23 long_desc = """ |
| 24 gcs-oauth2-boto-plugin is a Python application whose purpose is to behave as an |
| 25 auth plugin for the boto auth plugin framework for use with OAuth 2.0 |
| 26 credentials for the Google Cloud Platform. This plugin is compatible with both |
| 27 user accounts and service accounts, and its functionality is essentially a |
| 28 wrapper around the oauth2client package of google-api-python-client with the |
| 29 addition of automatically caching tokens for the machine in a thread- and |
| 30 process-safe fashion. |
| 31 """ |
| 32 |
| 33 requires = [ |
| 34 'boto>=2.29.1', |
| 35 'httplib2>=0.8', |
| 36 'google-api-python-client>=1.1', |
| 37 'pyOpenSSL>=0.13', |
| 38 # Not using 1.02 because of: |
| 39 # https://code.google.com/p/socksipy-branch/issues/detail?id=3 |
| 40 'SocksiPy-branch==1.01', |
| 41 'retry_decorator>=1.0.0', |
| 42 ] |
| 43 |
| 44 setup( |
| 45 name='gcs-oauth2-boto-plugin', |
| 46 version='1.8', |
| 47 url='https://developers.google.com/storage/docs/gspythonlibrary', |
| 48 download_url=('https://github.com/GoogleCloudPlatform' |
| 49 '/gcs-oauth2-boto-plugin'), |
| 50 license='Apache 2.0', |
| 51 author='Google Inc.', |
| 52 author_email='gs-team@google.com', |
| 53 description=('Auth plugin allowing use the use of OAuth 2.0 credentials ' |
| 54 'for Google Cloud Storage in the Boto library.'), |
| 55 long_description=long_desc, |
| 56 zip_safe=True, |
| 57 platforms='any', |
| 58 packages=find_packages(exclude=['third_party']), |
| 59 include_package_data=True, |
| 60 install_requires=requires, |
| 61 ) |
| OLD | NEW |