-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (75 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (75 loc) · 2.39 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
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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "plotlet"
version = "0.7.0"
description = "Python library for reproducible, multi-panel scientific figures, with byte-identical output across machines and an extension API for custom plot types."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [
{ name = "gitbamboo42" },
]
keywords = [
"plot",
"svg",
"scientific",
"visualization",
"jupyter",
"reproducible",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"fonttools>=4.0",
"scipy>=1.10",
"resvg_py>=0.3",
]
[project.optional-dependencies]
dev = [
"jupyter",
"nbconvert",
]
test = [
"pytest>=7",
"pandas",
]
pdf = [
"cairosvg",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[project.urls]
Homepage = "https://github.com/gitbamboo42/plotlet"
Repository = "https://github.com/gitbamboo42/plotlet"
Issues = "https://github.com/gitbamboo42/plotlet/issues"
[tool.setuptools.packages.find]
where = ["src"]
namespaces = true
[tool.setuptools.package-data]
# draw/fonts/*.txt are the font licenses — DejaVu (Bitstream Vera–derived)
# and Arimo (SIL OFL 1.1) both require the license text to accompany
# redistribution, so they must ship in the wheel next to the TTFs.
plotlet = ["spec.json", "themes/*.json", "draw/fonts/*.ttf", "draw/fonts/*.txt", "_datasets/*.csv", "_datasets/*.npz",
# AI onboarding: pt.skill() reads skills/, and the guides point
# at the shipped docs/ and examples/ so an installed package is
# self-sufficient — no repo clone, no web access needed.
"skills/*.md", "docs/*.md", "examples/*.py",
# JSON twins of the examples, for authoring plots as JSON
# journals (skills/json.md). Generated by
# tests/gen_json_examples.py — never edited by hand.
"examples/json/*.json"]