Zack Williams | 73a1285 | 2018-09-05 15:33:35 -0700 | [diff] [blame] | 1 | #!/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 | |
| 17 | from xosutil.autoversion_setup import setup_with_auto_version |
| 18 | from xosutil.version import __version__ |
| 19 | |
| 20 | |
| 21 | def readme(): |
| 22 | with open('README.rst') as f: |
| 23 | return f.read() |
| 24 | |
| 25 | |
| 26 | setup_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 | ) |