setup.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Copyright 2015 Cloudera 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. from __future__ import absolute_import
  15. from setuptools import setup
  16. description = ("Thrift SASL Python module that implements SASL transports for "
  17. "Thrift (`TSaslClientTransport`).")
  18. setup(
  19. name='thrift_sasl',
  20. version='0.4.3',
  21. description=description,
  22. long_description=description,
  23. url='https://github.com/cloudera/thrift_sasl',
  24. setup_requires=['setuptools>=20.5'],
  25. install_requires=[
  26. # Python 3 support was added to thrift in version 0.10.0.
  27. "thrift>=0.10.0;python_version>='3.0'",
  28. "thrift>=0.9.3;python_version<'3.0'",
  29. "pure-sasl>=0.6.2",
  30. "six>=1.13.0"
  31. ],
  32. packages=['thrift_sasl'],
  33. keywords='thrift sasl transport',
  34. license='Apache License, Version 2.0',
  35. classifiers=[
  36. 'Programming Language :: Python :: 2',
  37. 'Programming Language :: Python :: 2.6',
  38. 'Programming Language :: Python :: 2.7',
  39. 'Programming Language :: Python :: 3',
  40. 'Programming Language :: Python :: 3.3',
  41. 'Programming Language :: Python :: 3.4',
  42. 'Programming Language :: Python :: 3.5',
  43. 'Programming Language :: Python :: 3.6',
  44. 'Programming Language :: Python :: 3.7',
  45. 'Programming Language :: Python :: 3.8',
  46. 'Programming Language :: Python :: 3.9']
  47. )