forked from loft-br/xgboost-survival-embeddings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 1.22 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
import setuptools
install_requires = [
"xgboost>=1.2.0",
"numpy>=1.18.4",
"scikit-learn>=0.22.2",
"pandas>=1.0.*",
"joblib>=0.15.1",
"lifelines>=0.25.4",
]
docs_packages = [
"mkdocs>=1.1",
"mkdocs-material>=4.6.3",
"mkdocstrings>=0.8.0",
]
dev_packages = [
"black>=19.10b0",
"flake8>=3.7.9",
"pre-commit>=2.7.1",
"pytest>=6.1.0",
"pytest-cov==2.10.1",
] + docs_packages
benchmark_packages = [
"pycox==0.2.1",
]
all_packages = install_requires + dev_packages + benchmark_packages
with open("docs/index.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="xgbse",
version="0.2.1",
author="Loft Data Science Team",
author_email="[email protected]",
description="Improving XGBoost survival analysis with embeddings and debiased estimators",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=install_requires,
extras_require={
"docs": docs_packages,
"dev": dev_packages,
"all": all_packages,
},
python_requires=">=3.7",
url="https://github.com/loft-br/xgboost-survival-embeddings",
)