forked from Aiven-Open/karapace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (70 loc) · 2.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"""
karapace - setup
Copyright (c) 2023 Aiven Ltd
See LICENSE for details
"""
from setuptools import find_packages, setup
import os
import version
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, encoding="utf8") as fp:
readme_text = fp.read()
version_for_setup_py = version.get_project_version()
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])
setup(
name="karapace",
version=version_for_setup_py,
zip_safe=False,
packages=find_packages(exclude=["test"]),
install_requires=[
"accept-types",
"aiohttp",
"aiokafka",
"avro",
"jsonschema",
"kafka-python",
"networkx",
"protobuf",
"pyjwt",
"python-dateutil",
],
extras_require={
# compression algorithms supported by KafkaConsumer
"lz4": ["lz4"],
"sentry-sdk": ["sentry-sdk>=1.6.0"],
# compression algorithms supported by AioKafka and KafkaConsumer
"snappy": ["python-snappy"],
"ujson": ["ujson"],
"zstd": ["python-zstandard"],
},
dependency_links=[],
package_data={},
entry_points={
"console_scripts": [
"karapace = karapace.karapace_all:main",
"karapace_schema_backup = karapace.backup.cli:main",
"karapace_mkpasswd = karapace.auth:main",
],
},
author="Hannu Valtonen",
author_email="[email protected]",
license="Apache 2.0",
platforms=["POSIX", "MacOS"],
description="Karapace",
long_description=readme_text,
url="https://github.com/aiven/karapace/",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries",
],
)