forked from aregm/omniscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (34 loc) · 1.21 KB
/
setup.py
File metadata and controls
43 lines (34 loc) · 1.21 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
36
37
38
39
40
41
42
43
import runpy
from pathlib import Path
from setuptools import setup, find_packages, find_namespace_packages
root = Path(__file__).resolve().parent
with open(root / "README.md", encoding="utf-8") as f:
long_description = f.read()
def parse_reqs(name):
with open(root / "requirements" / name, "r") as f:
return f.readlines()
reporting_reqs = parse_reqs("reporting.txt")
all_reqs = reporting_reqs
name = "timedf"
version = runpy.run_path(root / name / "__version__.py")["__version__"]
setup(
name=name,
version=version,
description="Benchmarks for data frame processing libraries",
long_description=long_description,
url="https://github.com/intel-ai/timedf/",
packages=[
*find_packages(include=["timedf*"]),
*find_namespace_packages(include=["timedf_benchmarks.*"]),
],
install_requires=parse_reqs("base.txt"),
extras_require={"reporting": reporting_reqs, "all": all_reqs},
python_requires=">=3.8",
entry_points={
"console_scripts": [
"report-xlsx = timedf.scripts.report_xlsx:main",
"benchmark-run = timedf.scripts.benchmark_run:main",
"benchmark-load = timedf.scripts.benchmark_load:main",
]
},
)