|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -from os.path import join, dirname |
4 | 3 | from setuptools import setup |
5 | 4 |
|
6 | | -filename=join(dirname(__file__), 'src', 'ConfluentKafkaLibrary', 'version.py') |
7 | | -exec(compile(open(filename).read(),filename, 'exec')) |
8 | | - |
9 | | -DESCRIPTION = """ |
10 | | -Confluent Kafka wrapped in Robot Framework. |
11 | | -"""[1:-1] |
12 | | - |
13 | | -AVRO_REQUIRES = ['fastavro >= 1.3.2', 'avro >= 1.11.1'] |
14 | | -JSON_REQUIRES = ['jsonschema >= 3.2.0', 'pyrsistent >= 0.20.0'] |
15 | | -PROTO_REQUIRES = ['protobuf >= 4.22.0', 'googleapis-common-protos >= 1.66.0'] |
16 | | -SCHEMA_REGISTRY_REQUIRES = ['httpx>=0.26', 'cachetools >= 5.5.0', 'attrs >= 24.3.0'] |
17 | | -ALL = AVRO_REQUIRES + JSON_REQUIRES + PROTO_REQUIRES + SCHEMA_REGISTRY_REQUIRES |
18 | | -setup(name = 'robotframework-confluentkafkalibrary', |
19 | | - version = VERSION, |
20 | | - description = 'Confluent Kafka library for Robot Framework', |
21 | | - long_description = DESCRIPTION, |
22 | | - author = 'Robert Karasek', |
23 | | - author_email = '<robo.karasek@gmail.com>', |
24 | | - url = 'https://github.com/robooo/robotframework-ConfluentKafkaLibrary', |
25 | | - license = 'Apache License 2.0', |
26 | | - keywords = 'robotframework confluent kafka', |
27 | | - platforms = 'any', |
28 | | - classifiers = [ |
29 | | - "License :: OSI Approved :: Apache Software License", |
30 | | - "Operating System :: OS Independent", |
31 | | - "Programming Language :: Python", |
32 | | - "Topic :: Software Development :: Testing" |
33 | | - ], |
34 | | - install_requires = [ |
35 | | - 'robotframework >= 3.2.1', |
36 | | - 'confluent-kafka == 2.8.0', |
37 | | - 'requests >= 2.25.1', |
38 | | - ], |
39 | | - extras_require={ |
40 | | - 'all': ALL, |
41 | | - 'avro': AVRO_REQUIRES, |
42 | | - 'json': JSON_REQUIRES, |
43 | | - 'protobuf': PROTO_REQUIRES, |
44 | | - 'schemaregistry': SCHEMA_REGISTRY_REQUIRES, |
45 | | - }, |
46 | | - package_dir = {'' : 'src'}, |
47 | | - packages = ['ConfluentKafkaLibrary'], |
48 | | - ) |
| 5 | +setup() |
0 commit comments