Martin Cosyns | bf2daa0 | 2021-09-29 13:23:45 +0200 | [diff] [blame^] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # Original copyright 2020-present ADTRAN, Inc. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | from setuptools import setup, find_packages |
| 15 | |
| 16 | NAME = 'kafka_robot' |
| 17 | with open('VERSION') as ff: |
| 18 | VERSION = ff.read().strip() |
| 19 | with open('VERSION') as ff: |
| 20 | README = ff.read() |
| 21 | with open('VERSION') as ff: |
| 22 | LICENSE = ff.read() |
| 23 | |
| 24 | setup( |
| 25 | name=NAME, |
| 26 | version=VERSION, |
| 27 | description='Package for recieving messages from Kafka in Robot Framework.', |
| 28 | long_description=README, |
| 29 | long_description_content_type="text/markdown", |
| 30 | license=LICENSE, |
| 31 | classifiers=[ |
| 32 | "Programming Language :: Python :: 3", |
| 33 | "Operating System :: OS Independent", |
| 34 | ], |
| 35 | install_requires=[ |
| 36 | 'six', |
| 37 | 'robotframework>=3.1.2', |
| 38 | 'kafka-python>=2.0.1' |
| 39 | ], |
| 40 | python_requires='>=3.6', |
| 41 | packages=find_packages(exclude='tests'), |
| 42 | data_files=[('', ['LICENSE'])] |
| 43 | ) |