blob: 8c5193230bae3f10792588ef2bd145bdab5083ed [file] [log] [blame]
Jon Wayne Parrott377f2932016-10-04 10:20:36 -07001# Copyright 2014 Google Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Jon Wayne Parrott01906602017-03-22 10:10:32 -070015import io
16
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070017from setuptools import find_packages
18from setuptools import setup
19
20
21DEPENDENCIES = (
22 'pyasn1>=0.1.7',
23 'pyasn1-modules>=0.0.5',
24 'rsa>=3.1.4',
25 'six>=1.9.0',
26)
27
Jon Wayne Parrott4382bc12017-01-10 13:35:51 -080028EXTRA_OAUTHLIB_DEPENDENCIES = (
29 'requests-oauthlib>=0.7.0',
30)
31
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070032
Jon Wayne Parrott01906602017-03-22 10:10:32 -070033with io.open('README.rst', 'r') as fh:
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070034 long_description = fh.read()
35
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070036setup(
37 name='google-auth',
Jon Wayne Parrott0c5503e2017-02-23 15:45:18 -080038 version='0.8.0',
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070039 author='Google Cloud Platform',
40 author_email='jonwayne+google-auth@google.com',
41 description='Google Authentication Library',
42 long_description=long_description,
Jon Wayne Parrott246df812016-10-21 14:31:06 -070043 url='https://github.com/GoogleCloudPlatform/google-auth-library-python',
Jon Wayne Parrott7828c1c2017-03-16 13:16:59 -070044 packages=find_packages(exclude=('tests*', 'system_tests*')),
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070045 namespace_packages=('google',),
46 install_requires=DEPENDENCIES,
Jon Wayne Parrott4382bc12017-01-10 13:35:51 -080047 extras_require={
48 'oauthlib': EXTRA_OAUTHLIB_DEPENDENCIES,
49 },
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070050 license='Apache 2.0',
51 keywords='google auth oauth client',
52 classifiers=(
53 'Programming Language :: Python :: 2',
54 'Programming Language :: Python :: 2.7',
55 'Programming Language :: Python :: 3',
56 'Programming Language :: Python :: 3.4',
57 'Programming Language :: Python :: 3.5',
Jon Wayne Parrottac3f9752016-10-28 13:02:14 -070058 'Development Status :: 4 - Beta',
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070059 'Intended Audience :: Developers',
60 'License :: OSI Approved :: Apache Software License',
61 'Operating System :: POSIX',
62 'Operating System :: Microsoft :: Windows',
63 'Operating System :: MacOS :: MacOS X',
64 'Operating System :: OS Independent',
65 'Topic :: Internet :: WWW/HTTP',
66 ),
67)