setup.py 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. import io
  15. import setuptools
  16. DEPENDENCIES = ['pyu2f']
  17. OAUTH2CLIENT_EXTRA_DEPENDENCIES = [
  18. 'oauth2client>=2.0.0'
  19. ]
  20. EXTRAS = {
  21. 'oauth2client': OAUTH2CLIENT_EXTRA_DEPENDENCIES
  22. }
  23. with io.open('README.rst', 'r') as fh:
  24. long_description = fh.read()
  25. setuptools.setup(
  26. name='google-reauth',
  27. version='0.1.0',
  28. author='Google',
  29. author_email='googleapis-publisher@google.com',
  30. description='Google Reauth Library',
  31. long_description=long_description,
  32. url='https://github.com/Google/google-reauth-python',
  33. packages=setuptools.find_packages(exclude=('tests*', 'system_tests*')),
  34. install_requires=DEPENDENCIES,
  35. extras_require=EXTRAS,
  36. license='Apache 2.0',
  37. keywords='google auth oauth client reauth',
  38. classifiers=(
  39. 'Programming Language :: Python :: 2',
  40. 'Programming Language :: Python :: 2.7',
  41. 'Programming Language :: Python :: 3',
  42. 'Programming Language :: Python :: 3.4',
  43. 'Programming Language :: Python :: 3.5',
  44. 'Programming Language :: Python :: 3.6',
  45. 'Development Status :: 4 - Beta',
  46. 'Intended Audience :: Developers',
  47. 'License :: OSI Approved :: Apache Software License',
  48. 'Operating System :: POSIX',
  49. 'Operating System :: Microsoft :: Windows',
  50. 'Operating System :: MacOS :: MacOS X',
  51. 'Operating System :: OS Independent',
  52. 'Topic :: Internet :: WWW/HTTP',
  53. ),
  54. )