-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
64 lines (59 loc) · 1.88 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
55
56
57
58
59
60
61
62
63
64
from setuptools import setup, find_packages
with open("README.md", "r", encoding="UTF-8") as fh:
long_description = fh.read()
base_packages = [
"numpy>=1.19.2",
"scikit-learn>=0.23.2",
]
dev_dep = [
"flake8>=3.8.3",
"black>=19.10b0",
"pre-commit>=2.5.0",
"mypy>=0.770",
"flake8-docstrings>=1.4.0" "pytest>=6.0.0",
"pytest-cov>=2.10.0",
"lightgbm>=3.0.0",
"xgboost>=1.3.3",
]
docs_dep = [
"mkdocs-material>=6.1.0",
"mkdocs-git-revision-date-localized-plugin>=0.7.2",
"mkdocs-git-authors-plugin>=0.3.2",
"mkdocs-table-reader-plugin>=0.4.1",
"mkdocs-enumerate-headings-plugin>=0.4.3",
"mkdocs-awesome-pages-plugin>=2.4.0",
"mkdocs-minify-plugin>=0.3.0",
"mknotebooks>=0.6.2",
"mkdocstrings>=0.13.6",
"mkdocs-print-site-plugin>=0.8.2",
"mkdocs-markdownextradata-plugin>=0.1.9",
]
setup(
name="bokbokbok",
version="0.6.1",
description="Custom Losses and Metrics for XGBoost, LightGBM, CatBoost",
long_description=long_description,
long_description_content_type="text/markdown",
author="Daniel Timbrell",
author_email="[email protected]",
license="Open Source",
python_requires=">=3.6",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
],
include_package_data=True,
install_requires=base_packages,
extras_require={
"base": base_packages,
"all": base_packages + dev_dep + docs_dep
},
url="https://github.com/orchardbirds/bokbokbok",
packages=find_packages(".", exclude=["tests", "notebooks", "docs"]),
)