blob: 66e74ee4374eb87dd2af675540df71e4097a980c [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 = (
Renovate Bot091ed162019-12-17 01:43:01 +020022 "cachetools>=2.0.0,<5.0",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070023 "pyasn1-modules>=0.2.1",
WhiteSource Renovate6dd25972020-07-21 23:42:03 +020024 # rsa==4.5 is the last version to support 2.7
25 # https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
Tres Seaver6de753d2020-12-11 13:20:39 -050026 'rsa<4.6; python_version < "3.6"',
27 'rsa>=3.1.4,<5; python_version >= "3.6"',
Bu Sun Kim9eec0912019-10-21 17:04:21 -070028 "setuptools>=40.3.0",
29 "six>=1.9.0",
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070030)
31
David Buxtonb790e652020-10-29 21:38:01 +000032extras = {"aiohttp": "aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'"}
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070033
Bu Sun Kim9eec0912019-10-21 17:04:21 -070034with io.open("README.rst", "r") as fh:
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070035 long_description = fh.read()
36
release-please[bot]bc92abb2020-10-29 21:48:02 +000037version = "1.23.0"
Bu Sun Kimd3406b32019-11-04 15:40:13 -080038
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070039setup(
Bu Sun Kim9eec0912019-10-21 17:04:21 -070040 name="google-auth",
Bu Sun Kimd3406b32019-11-04 15:40:13 -080041 version=version,
Bu Sun Kim9eec0912019-10-21 17:04:21 -070042 author="Google Cloud Platform",
Bu Sun Kime61a8732019-11-11 11:26:00 -080043 author_email="googleapis-packages@google.com",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070044 description="Google Authentication Library",
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070045 long_description=long_description,
Tim Swast011fabb2019-12-17 16:45:54 -080046 url="https://github.com/googleapis/google-auth-library-python",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070047 packages=find_packages(exclude=("tests*", "system_tests*")),
48 namespace_packages=("google",),
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070049 install_requires=DEPENDENCIES,
Christopher Wilcoxa9240112020-10-05 10:08:02 -070050 extras_require=extras,
Tres Seaver6de753d2020-12-11 13:20:39 -050051 python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070052 license="Apache 2.0",
53 keywords="google auth oauth client",
Thilo Maurer4997be12018-08-01 23:33:08 +020054 classifiers=[
Bu Sun Kim9eec0912019-10-21 17:04:21 -070055 "Programming Language :: Python :: 2",
56 "Programming Language :: Python :: 2.7",
57 "Programming Language :: Python :: 3",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070058 "Programming Language :: Python :: 3.6",
59 "Programming Language :: Python :: 3.7",
Tres Seaver1aad54a2020-07-22 20:17:28 -040060 "Programming Language :: Python :: 3.8",
Tres Seaver6de753d2020-12-11 13:20:39 -050061 "Programming Language :: Python :: 3.9",
Bu Sun Kim9eec0912019-10-21 17:04:21 -070062 "Development Status :: 5 - Production/Stable",
63 "Intended Audience :: Developers",
64 "License :: OSI Approved :: Apache Software License",
65 "Operating System :: POSIX",
66 "Operating System :: Microsoft :: Windows",
67 "Operating System :: MacOS :: MacOS X",
68 "Operating System :: OS Independent",
69 "Topic :: Internet :: WWW/HTTP",
Thilo Maurer4997be12018-08-01 23:33:08 +020070 ],
Jon Wayne Parrott377f2932016-10-04 10:20:36 -070071)