forked from GoogleCloudPlatform/gcs-oauth2-boto-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (56 loc) · 2.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 oauth2client 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',
'oauth2client>=1.5.2',
'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',
'six>=1.6.1'
]
setup(
name='gcs-oauth2-boto-plugin',
version='1.12',
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,
)