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 = ( |
| 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 Parrott | 4382bc1 | 2017-01-10 13:35:51 -0800 | [diff] [blame] | 28 | EXTRA_OAUTHLIB_DEPENDENCIES = ( |
| 29 | 'requests-oauthlib>=0.7.0', |
| 30 | ) |
| 31 | |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 32 | |
Jon Wayne Parrott | 0190660 | 2017-03-22 10:10:32 -0700 | [diff] [blame^] | 33 | with io.open('README.rst', 'r') as fh: |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 34 | long_description = fh.read() |
| 35 | |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 36 | setup( |
| 37 | name='google-auth', |
Jon Wayne Parrott | 0c5503e | 2017-02-23 15:45:18 -0800 | [diff] [blame] | 38 | version='0.8.0', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 39 | author='Google Cloud Platform', |
| 40 | author_email='jonwayne+google-auth@google.com', |
| 41 | description='Google Authentication Library', |
| 42 | long_description=long_description, |
Jon Wayne Parrott | 246df81 | 2016-10-21 14:31:06 -0700 | [diff] [blame] | 43 | url='https://github.com/GoogleCloudPlatform/google-auth-library-python', |
Jon Wayne Parrott | 7828c1c | 2017-03-16 13:16:59 -0700 | [diff] [blame] | 44 | packages=find_packages(exclude=('tests*', 'system_tests*')), |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 45 | namespace_packages=('google',), |
| 46 | install_requires=DEPENDENCIES, |
Jon Wayne Parrott | 4382bc1 | 2017-01-10 13:35:51 -0800 | [diff] [blame] | 47 | extras_require={ |
| 48 | 'oauthlib': EXTRA_OAUTHLIB_DEPENDENCIES, |
| 49 | }, |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 50 | 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 Parrott | ac3f975 | 2016-10-28 13:02:14 -0700 | [diff] [blame] | 58 | 'Development Status :: 4 - Beta', |
Jon Wayne Parrott | 377f293 | 2016-10-04 10:20:36 -0700 | [diff] [blame] | 59 | '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 | ) |