-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (28 loc) · 1.04 KB
/
setup.py
File metadata and controls
35 lines (28 loc) · 1.04 KB
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
from typing import List
from setuptools import find_packages, setup
__version__ = "0.2.0"
with open("README.md") as f:
README = f.read()
def get_requirements(filename: str) -> List[str]:
with open(filename, "r", encoding="utf-8") as fp:
reqs = [
x.strip()
for x in fp.read().splitlines()
if not x.strip().startswith("#") and not x.strip().startswith("-i")
]
return reqs
setup(
name="flink-sql-runner",
version=__version__,
description="Framework for scheduling streaming SQL queries on Apache Hadoop YARN and on a standalone Flink cluster.", # noqa: E501
long_description=README,
long_description_content_type="text/markdown",
python_requires=">=3.7",
classifiers=[
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["docs", "*.tests", "*.tests.*", "tests.*", "tests", "example", "docker"]),
include_package_data=True,
install_requires=get_requirements("requirements.txt")
)