-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (24 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
28 lines (24 loc) · 1.17 KB
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
[build-system]
requires = ["setuptools>=77"] # PEP 639 `license = "MIT"` needs 77.0.0
build-backend = "setuptools.build_meta"
[project]
name = "liveplot"
version = "0.1.0"
description = "Live training curves in Jupyter, Colab and VS Code that cost the training loop (almost) nothing"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [{ name = "ARENA-education" }]
# Everything heavy is imported lazily, inside the function that needs it: `import liveplot`
# pulls in nothing third-party at all, and with none of these installed a LivePlot still
# collects into plot.data. These are what the drawing path imports directly -- numpy for the
# smoother and pillow for save_gif() come with matplotlib anyway, but we import them, so we
# say so rather than relying on matplotlib's dependency list staying as it is.
dependencies = ["matplotlib>=3.6", "numpy>=1.22", "pillow>=9"]
[project.optional-dependencies]
notebook = ["ipython>=8.0", "tqdm>=4.60"] # the live display, and the progress bar
test = ["pytest", "ipython>=8.0", "tqdm>=4.60"]
[project.urls]
Homepage = "https://github.com/ARENA-education/liveplot"
[tool.setuptools.packages.find]
include = ["liveplot*"]