-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
81 lines (75 loc) · 2.03 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
[project]
# Project metadata. Available keys are documented at:
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata
name = "treescope"
description = "Treescope: An interactive HTML pretty-printer for ML research in IPython notebooks."
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [{name = "The Treescope 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 = [
"numpy>=1.25.2"
]
# This is set automatically by flit using `treescope.__version__`
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/google-deepmind/treescope"
repository = "https://github.com/google-deepmind/treescope"
[project.optional-dependencies]
# Dependencies required for running tests.
test = [
"absl-py>=1.4.0",
"jax>=0.4.23",
"pytest>=8.2.2",
"torch>=2.0.0",
]
# Extra dependencies for some notebook demos.
notebook = [
"ipython",
"palettable",
"jax>=0.4.23",
]
# Development deps (linting, formating,...)
# Installed through `pip install .[dev]`
dev = [
"pylint>=2.6.0",
"pyink>=24.3.0",
"ipython",
"jupyter",
]
# Requirements for building documentation.
docs = [
"ipython",
"sphinx>=6.0.0,<7.3.0",
"sphinx-book-theme>=1.0.1",
"sphinxcontrib-katex",
"ipython>=8.8.0",
"jax[cpu]>=0.4.23",
"myst-nb>=1.0.0",
"myst-parser>=3.0.1",
"matplotlib>=3.5.0",
"palettable==3.3.3",
"pandas==2.2.2",
"plotly==5.22.0",
"penzai~=0.2.0",
"sphinx_contributors",
"sphinx-hoverxref",
"torch==2.3.1",
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
unstable = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[build-system]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"