blob: 3d05854d71ddb5dc211b6800647de2a96cc737ec [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():
Zack Williams045b63d2019-01-22 16:30:57 -070022 with open("README.rst") as f:
Zack Williams73a12852018-09-05 15:33:35 -070023 return f.read()
24
25
26setup_with_auto_version(
Zack Williams045b63d2019-01-22 16:30:57 -070027 name="xoskafka",
Zack Williams73a12852018-09-05 15:33:35 -070028 version=__version__,
Zack Williams045b63d2019-01-22 16:30:57 -070029 description="Wrapper around kafka for XOS",
Zack Williams73a12852018-09-05 15:33:35 -070030 long_description=readme(),
Zack Williams045b63d2019-01-22 16:30:57 -070031 classifiers=["License :: OSI Approved :: Apache Software License"],
32 author="Zack Williams",
33 author_email="zdw@opennetworking.org",
34 packages=["xoskafka"],
35 license="Apache v2",
Zack Williams73a12852018-09-05 15:33:35 -070036 install_requires=[
Zack Williams045b63d2019-01-22 16:30:57 -070037 "confluent-kafka>=0.11.5",
38 "xosconfig>=2.1.0",
39 "multistructlog>=1.5",
40 ],
Zack Williams73a12852018-09-05 15:33:35 -070041 include_package_data=True,
42 zip_safe=False,
Zack Williams045b63d2019-01-22 16:30:57 -070043)