blob: 4486f19b26bbde7987c149bae7c3f8b0214c6da1 [file] [log] [blame]
Zack Williams73a12852018-09-05 15:33:35 -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='xoskafka',
28 version=__version__,
29 description='Wrapper around kafka for XOS',
30 long_description=readme(),
31 classifiers=[
32 'License :: OSI Approved :: Apache Software License',
33 ],
34 author='Zack Williams',
35 author_email='zdw@opennetworking.org',
36 packages=['xoskafka'],
37 license='Apache v2',
38 install_requires=[
39 'confluent-kafka>=0.11.5',
40 'xosconfig>=2.1.0',
41 'multistructlog>=1.5',
42 ],
43 include_package_data=True,
44 zip_safe=False,
45 )