forked from BCG-X-Official/pytools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (96 loc) · 2.65 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
[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 = "pytools"
author = "Boston Consulting Group (BCG)"
home-page = "https://github.com/BCG-Gamma/pytools"
description-file = "pypi_description.rst"
dist-name = "gamma-pytools"
license = "Apache Software License v2.0"
requires = [
"joblib >=0.14,<2a",
"matplotlib ~=3.0",
"numpy >=1.16,<2a",
"pandas >=0.24,<2a",
"scipy ~=1.2",
"typing_inspect ~=0.4",
]
requires-python = ">=3.6,<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.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
]
[tool.flit.metadata.requires-extra]
testing = [
"pytest ~= 5.2",
"pytest-cov ~= 2.8",
"flake8 ~= 3.8",
"flake8-comprehensions ~= 3.2",
"isort ~= 5.5",
]
docs = [
"sphinx == 3.4.*",
"sphinx-autodoc-typehints == 1.11.*",
"pydata-sphinx-theme == 0.4.*",
"jinja2 ~= 2.11",
"nbsphinx ~= 0.7.1",
"jupyter == 1.*",
"docutils == 0.16.*",
"xlrd ~= 1.2",
"m2r == 0.2.*"
]
[tool.flit.metadata.urls]
Documentation = "https://bcg-gamma.github.io/pytools/"
Repository = "https://github.com/BCG-Gamma/pytools"
[build.matrix.min]
# minimum requirements of gamma-pytools
joblib = "~=0.14.0"
matplotlib = "~=3.0.3"
numpy = ">=1.16.6,<1.17a" # cannot use ~= due to conda bug
pandas = "~=0.24.2"
python = ">=3.6.8,<3.7a" # cannot use ~= due to conda bug
scipy = "~=1.2.1"
typing_inspect = "~=0.4.0"
[build.matrix.max]
joblib = "~=1.0"
matplotlib = "~=3.4"
numpy = ">=1.20,<2a" # cannot use ~= due to conda bug
pandas = "~=1.4"
python = ">=3.8,<4a" # cannot use ~= due to conda bug
scipy = "~=1.6"
typing_inspect = "~=0.7"
[tool.black]
# quiet = "True"
line-length = 88
target_version = ['py36']
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
)/
)
'''