# Copyright 2015 Cloudera Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import import sys from setuptools import setup PY3 = sys.version_info[0] == 3 description = ("Thrift SASL Python module that implements SASL transports for " "Thrift (`TSaslClientTransport`).") setup( name='thrift_sasl', version='0.4.3', description=description, long_description=description, url='https://github.com/cloudera/thrift_sasl', install_requires=[ # Python 3 support was added to thrift in version 0.10.0. "thrift>=0.10.0" if PY3 else "thrift>=0.9.3", "pure-sasl>=0.6.2", "six>=1.13.0" ], packages=['thrift_sasl'], keywords='thrift sasl transport', license='Apache License, Version 2.0', classifiers=[ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9'] )