Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 1 | # 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 Parrott | 0190660 | 2017-03-22 10:10:32 -0700 | [diff] [blame] | 15 | import io |
| 16 | |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 17 | from setuptools import find_packages |
| 18 | from setuptools import setup |
| 19 | |
| 20 | |
| 21 | DEPENDENCIES = ( |
Jon Wayne Parrott | 945c357 | 2017-12-15 10:00:22 -0800 | [diff] [blame] | 22 | 'pyasn1-modules>=0.2.1', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 23 | 'rsa>=3.1.4', |
| 24 | 'six>=1.9.0', |
Jon Wayne Parrott | cfbfd25 | 2017-03-28 13:03:11 -0700 | [diff] [blame] | 25 | 'cachetools>=2.0.0', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 26 | ) |
| 27 | |
| 28 | |
Jon Wayne Parrott | 0190660 | 2017-03-22 10:10:32 -0700 | [diff] [blame] | 29 | with io.open('README.rst', 'r') as fh: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 30 | long_description = fh.read() |
| 31 | |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 32 | setup( |
| 33 | name='google-auth', |
Thea Flowers | 137b43b | 2018-07-31 16:13:14 -0700 | [diff] [blame] | 34 | version='1.5.1', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 35 | author='Google Cloud Platform', |
| 36 | author_email='jonwayne+google-auth@google.com', |
| 37 | description='Google Authentication Library', |
| 38 | long_description=long_description, |
Jon Wayne Parrott | 246df81 | 2016-10-21 14:31:06 -0700 | [diff] [blame] | 39 | url='https://github.com/GoogleCloudPlatform/google-auth-library-python', |
Jon Wayne Parrott | 7828c1c | 2017-03-16 13:16:59 -0700 | [diff] [blame] | 40 | packages=find_packages(exclude=('tests*', 'system_tests*')), |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 41 | namespace_packages=('google',), |
| 42 | install_requires=DEPENDENCIES, |
| 43 | license='Apache 2.0', |
| 44 | keywords='google auth oauth client', |
Thilo Maurer | 4997be1 | 2018-08-01 23:33:08 +0200 | [diff] [blame^] | 45 | classifiers=[ |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 46 | 'Programming Language :: Python :: 2', |
| 47 | 'Programming Language :: Python :: 2.7', |
| 48 | 'Programming Language :: Python :: 3', |
| 49 | 'Programming Language :: Python :: 3.4', |
| 50 | 'Programming Language :: Python :: 3.5', |
Jon Wayne Parrott | 06a27e8 | 2017-03-22 12:59:41 -0700 | [diff] [blame] | 51 | 'Programming Language :: Python :: 3.6', |
Jon Wayne Parrott | 709953d | 2017-04-17 13:13:13 -0700 | [diff] [blame] | 52 | 'Development Status :: 5 - Production/Stable', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 53 | 'Intended Audience :: Developers', |
| 54 | 'License :: OSI Approved :: Apache Software License', |
| 55 | 'Operating System :: POSIX', |
| 56 | 'Operating System :: Microsoft :: Windows', |
| 57 | 'Operating System :: MacOS :: MacOS X', |
| 58 | 'Operating System :: OS Independent', |
| 59 | 'Topic :: Internet :: WWW/HTTP', |
Thilo Maurer | 4997be1 | 2018-08-01 23:33:08 +0200 | [diff] [blame^] | 60 | ], |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 61 | ) |