forked from bryanyang0528/ksql-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (46 loc) · 1.69 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Setup module """
import os
from setuptools import setup
def get_install_requirements(path):
content = open(os.path.join(os.path.dirname(__file__), path)).read()
return [req for req in content.split("\n") if req != "" and not req.startswith("#")]
VERSION = "0.29.0.1"
here = os.path.dirname(__file__)
# Get long description
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
setuptools_kwargs = {
"install_requires": ["requests", "six", "httpx[http2]"],
"zip_safe": False,
}
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="ksql-python-ng",
version=VERSION,
description="A Python wrapper for the KSQL REST API",
long_description=README,
author="Bryan Yang",
author_email="[email protected]",
maintainer="Idan Sheinberg",
maintainer_email="[email protected]",
url="https://github.com/sheinbergon/ksql-python-ng",
license="MIT License",
packages=["ksql"],
include_package_data=True,
platforms=["any"],
extras_require={"dev": get_install_requirements("requirements_test.txt")},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
],
**setuptools_kwargs,
)