-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 753 Bytes
/
setup.py
File metadata and controls
35 lines (32 loc) · 753 Bytes
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 pathlib import Path
from setuptools import setup, find_packages
PROJECT_ROOT = Path(__file__).resolve().parent
DATA_FILES = [
path.relative_to(PROJECT_ROOT).as_posix()
for path in (PROJECT_ROOT / "data").glob("*")
if path.is_file()
]
setup(
name="ContextScore",
version="0.1.0",
packages=find_packages(),
include_package_data=True,
data_files=[("contextscore/data", DATA_FILES)],
install_requires=[
"numpy",
"pandas",
"scikit-learn",
"joblib",
],
extras_require={
"plot": [
"matplotlib",
"seaborn",
]
},
entry_points={
"console_scripts": [
"contextscore=contextscore.predict:main",
]
},
)