forked from matttproud/python_quantile_estimation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (30 loc) · 1.12 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
import pathlib
import setuptools
from importlib.machinery import SourceFileLoader
version = SourceFileLoader("version", "quantile_estimator/version.py").load_module()
def readfile(filename) -> str:
return pathlib.Path(filename).read_text("utf-8").strip()
setuptools.setup(
name="quantile-estimator",
version=version.__version__,
author="RefaceAI",
author_email="[email protected]",
description=(
"Python Implementation of Graham Cormode and S. "
"Muthukrishnan's Effective Computation of Biased "
"Quantiles over Data Streams in ICDE'05"
),
long_description=readfile("README.md"),
long_description_content_type="text/markdown",
license="Apache License 2.0",
url="https://github.com/RefaceAI/quantile-estimator",
packages=["quantile_estimator"],
platforms="Platform Independent",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Mathematics",
],
)