-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpyproject.toml
144 lines (133 loc) · 4 KB
/
pyproject.toml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
exclude = [".idea", "tmp", "dist", ".tox", ".pytest_cache"]
[tool.flit.metadata]
module = "facet"
author = "Boston Consulting Group (BCG)"
home-page = "https://github.com/BCG-X-Official/facet"
description-file = "pypi_description.rst"
dist-name = "gamma-facet"
license = "Apache Software License v2.0"
requires = [
"gamma-pytools ~=2.1",
"matplotlib ~=3.0",
"numpy >=1.21,<2a", # cannot use ~= due to conda bug
"packaging >=20",
"pandas >=1.0",
"scipy ~=1.2",
"shap >=0.39",
"scikit-learn ~=1.0",
"sklearndf ~=2.2",
"typing_extensions ~=4.0",
]
requires-python = ">=3.7,<4a"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
]
[tool.flit.metadata.requires-extra]
testing = [
"pytest ~= 7.1",
"pytest-cov ~= 2.12",
"lightgbm ~=3.0.0",
"xgboost ~= 1.5",
]
docs = [
"sphinx ~= 4.5",
"sphinx-autodoc-typehints ~= 1.19",
"pydata-sphinx-theme ~= 0.8.1",
"jinja2 ~= 2.11",
"nbsphinx ~= 0.8.9",
"jupyter == 1",
"docutils ~= 0.17",
"xlrd ~= 1.2",
"m2r ~= 0.2"
]
[tool.flit.metadata.urls]
Documentation = "https://bcg-x-official.github.io/facet/"
Repository = "https://github.com/BCG-X-Official/facet"
[build]
# comma-separated list of packages to be built from source in pip min builds
no-binary.min = ["matplotlib", "shap"]
[build.matrix.min]
# direct requirements of gamma-facet
gamma-pytools = "~=2.1.0"
matplotlib = "~=3.0.3"
numpy = "==1.21.6" # cannot use ~= due to conda bug
packaging = "~=20.9"
pandas = "~=1.0.5"
python = ">=3.7.12,<3.8a" # cannot use ~= due to conda bug
scipy = "~=1.4.1"
shap = "~=0.39.0"
sklearndf = "~=2.2.0"
typing_extensions = "~=4.0.0"
# additional minimum requirements of sklearndf
boruta = "~=0.3.0"
lightgbm = "~=3.0.0"
scikit-learn = "~=1.0.2"
xgboost = "~=1.5.0"
# additional minimum requirements of gamma-pytools
joblib = "~=0.14.1"
typing_inspect = "~=0.4.0"
# additional minimum requirements of shap
ipython = "==7.0"
numba = "~=0.55.2" # required to support numpy 1.21
# additional requirements for testing
zipp = "<3.16" # required to support python 3.7
[build.matrix.max]
# direct requirements of gamma-facet
gamma-pytools = "~=2.1"
matplotlib = "~=3.6"
numpy = ">=1.23,<2a" # cannot use ~= due to conda bug
packaging = ">=20"
pandas = "~=2.0"
python = ">=3.9,<4a" # cannot use ~= due to conda bug
scipy = "~=1.10"
shap = "~=0.41"
sklearndf = "~=2.2"
typing_extensions = "~=4.3"
# additional maximum requirements of sklearndf
boruta = "~=0.3"
lightgbm = "~=3.3"
scikit-learn = "~=1.2"
xgboost = "~=1.5"
# additional maximum requirements of gamma-pytools
joblib = "~=1.1"
typing_inspect = "~=0.7"
# additional maximum requirements of shap
ipython = ">=7"
numba = "~=0.56"
[tool.black]
# quiet = "True"
line-length = 88
target_version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| data
| docs
| notebooks
| sphinx
)/
)
'''