forked from prestodb/presto-query-predictor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (51 loc) · 1.86 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
import re
from setuptools import find_packages
from setuptools import setup
with open("query_predictor/__init__.py", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
setup(
name="presto-query-predictor",
author="Twitter Presto Team",
author_email="[email protected]",
description="A query predictor pipeline and service to predict resource usages of Presto queries",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
version=version,
url="https://github.com/prestodb/presto-query-predictor",
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
zip_safe=False,
license="Apache 2.0",
keywords="presto sql ml",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
],
install_requires=[
"Flask",
"flask-cors",
"joblib",
"numpy",
"pandas",
"pyyaml",
"scikit-learn",
"xgboost",
],
extras_require={"tests": ["pytest"], "tutorial": ["waitress"]},
python_requires=">=3.7",
)