-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
101 lines (93 loc) · 2.84 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
[project]
name = "kauldron"
description = "Kauldron is a ML research library optimized for quick iteration and modularity."
readme = "README.md"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [{name = "kauldron authors", email="[email protected]"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
keywords = []
# pip dependencies of the project
dependencies = [
"absl-py",
"altair",
"chex",
"clu",
"einops",
"etils[edc,enp,epath,epy,etree]",
"flax",
"grain",
"graphviz",
"immutabledict",
"jax",
"jaxtyping",
"lark",
"mediapy",
"ml_collections",
"numpy",
"numpy",
"opencv-python", # speeds up pygrain image loading
"optax",
"orbax-checkpoint",
"pandas",
"scikit-image",
"scikit-learn",
"tabulate", # used by pandas.DataFrame.to_markdown (for logging context)
"tensorflow",
"tfds-nightly", # TODO(klausg): switch back to tensorflow_datasets>=4.9.7
# once released: https://github.com/tensorflow/datasets/commit/d4bfd59863c6cb5b64d043b7cb6ab566e7d92440
"tqdm",
# TODO(klausg): Restore typeguard or switch to something else
# closest match to the internal typeguard
# "typeguard@git+https://github.com/agronholm/typeguard@0dd7f7510b7c694e66a0d17d1d58d185125bad5d",
"typing_extensions",
"xmanager",
# lazy deps (should ideally remove those)
# "grand_vision",
]
# This is set automatically by flit using `kauldron.__version__`
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/google-research/kauldron"
repository = "https://github.com/google-research/kauldron"
documentation = "https://kauldron.readthedocs.io"
# Other: `documentation`, `changelog`
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"pytest",
"pytest-xdist",
"hypothesis==6.80.0",
"pylint>=2.6.0",
"pyink",
]
# Installed through `pip install .[docs]`
docs = [
# Install `apitree` with all extensions (sphinx, theme,...)
"sphinx-apitree[ext]",
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
preview = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[build-system]
# Build system specify which backend is used to build/install the project (flit,
# poetry, setuptools,...). All backends are supported by `pip install`
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
# Flit specific options (files to exclude from the PyPI package).
# If using another build backend (setuptools, poetry), you can remove this
# section.
exclude = [
# Do not release tests files on PyPI
"**/*_test.py",
]