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 = ( |
Renovate Bot | 091ed16 | 2019-12-17 01:43:01 +0200 | [diff] [blame] | 22 | "cachetools>=2.0.0,<5.0", |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 23 | "pyasn1-modules>=0.2.1", |
| 24 | "rsa>=3.1.4,<4.1", |
| 25 | "setuptools>=40.3.0", |
| 26 | "six>=1.9.0", |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 27 | ) |
| 28 | |
| 29 | |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 30 | with io.open("README.rst", "r") as fh: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 31 | long_description = fh.read() |
| 32 | |
release-please[bot] | 04f1260 | 2019-12-16 15:27:23 -0800 | [diff] [blame] | 33 | version = "1.9.0" |
Bu Sun Kim | d3406b3 | 2019-11-04 15:40:13 -0800 | [diff] [blame] | 34 | |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 35 | setup( |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 36 | name="google-auth", |
Bu Sun Kim | d3406b3 | 2019-11-04 15:40:13 -0800 | [diff] [blame] | 37 | version=version, |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 38 | author="Google Cloud Platform", |
Bu Sun Kim | e61a873 | 2019-11-11 11:26:00 -0800 | [diff] [blame] | 39 | author_email="googleapis-packages@google.com", |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 40 | description="Google Authentication Library", |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 41 | long_description=long_description, |
Tim Swast | 011fabb | 2019-12-17 16:45:54 -0800 | [diff] [blame^] | 42 | url="https://github.com/googleapis/google-auth-library-python", |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 43 | packages=find_packages(exclude=("tests*", "system_tests*")), |
| 44 | namespace_packages=("google",), |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 45 | install_requires=DEPENDENCIES, |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 46 | python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", |
| 47 | license="Apache 2.0", |
| 48 | keywords="google auth oauth client", |
Thilo Maurer | 4997be1 | 2018-08-01 23:33:08 +0200 | [diff] [blame] | 49 | classifiers=[ |
Bu Sun Kim | 9eec091 | 2019-10-21 17:04:21 -0700 | [diff] [blame] | 50 | "Programming Language :: Python :: 2", |
| 51 | "Programming Language :: Python :: 2.7", |
| 52 | "Programming Language :: Python :: 3", |
| 53 | "Programming Language :: Python :: 3.4", |
| 54 | "Programming Language :: Python :: 3.5", |
| 55 | "Programming Language :: Python :: 3.6", |
| 56 | "Programming Language :: Python :: 3.7", |
| 57 | "Development Status :: 5 - Production/Stable", |
| 58 | "Intended Audience :: Developers", |
| 59 | "License :: OSI Approved :: Apache Software License", |
| 60 | "Operating System :: POSIX", |
| 61 | "Operating System :: Microsoft :: Windows", |
| 62 | "Operating System :: MacOS :: MacOS X", |
| 63 | "Operating System :: OS Independent", |
| 64 | "Topic :: Internet :: WWW/HTTP", |
Thilo Maurer | 4997be1 | 2018-08-01 23:33:08 +0200 | [diff] [blame] | 65 | ], |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 66 | ) |