blob: cba89ff906e6a74b838af31313245c610417dd50 [file] [log] [blame]
Zack Williamsf1b50982018-08-26 16:35:49 -07001#!/usr/bin/env python
2
3# Copyright 2018-present Open Networking Foundation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17from xosutil.autoversion_setup import setup_with_auto_version
18from xosutil.version import __version__
19
20
21def readme():
22 with open('README.rst') as f:
23 return f.read()
24
25
26setup_with_auto_version(
27 name='kafkaloghandler',
28 version=__version__,
29 description='Kafka Logging Handler',
30 long_description=readme(),
31 classifiers=[
32 'Topic :: System :: Logging',
33 'Topic :: Internet :: Log Analysis',
34 'License :: OSI Approved :: Apache Software License',
35 ],
36 author='Zack Williams',
37 author_email='zdw@opennetworking.org',
38 packages=['kafkaloghandler'],
39 license='Apache v2',
40 install_requires=[
Zack Williams73a12852018-09-05 15:33:35 -070041 'confluent-kafka>=0.11.5',
Zack Williamsf1b50982018-08-26 16:35:49 -070042 ],
43 include_package_data=True,
44 zip_safe=False,
45 )