forked from probabilistic-numerics/probnum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 849 Bytes
/
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
# -*- coding: utf-8 -*-
"""Setup file for probnum.
Use setup.cfg to configure the project.
"""
from setuptools import setup
# TODO (pypa/setuptools#3221): Migrate this to `[project.optional-dependencies]` in
# `pyproject.toml`, once optional dependencies defined there can reference one another
extras_require = dict()
extras_require["jax"] = [
"jax[cpu]<0.3.21; platform_system!='Windows'",
]
extras_require["zoo"] = [
"tqdm>=4.0",
"requests>=2.0",
] + extras_require["jax"]
extras_require["pls_calib"] = [
"GPy",
# GPy can't be imported without matplotlib.
# This is and should not be a ProbNum dependency.
"matplotlib",
]
extras_require["full"] = (
extras_require["jax"] + extras_require["zoo"] + extras_require["pls_calib"]
)
if __name__ == "__main__":
setup(
extras_require=extras_require,
)