-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.65 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
[build-system]
requires = ["setuptools>=64.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mpl_template"
description = "mpl-template: matplotlib report template constructor"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "BSD-3-Clause" }
authors = [{ name = "Austin Orr", email = "austinmartinorr@gmail.com" }]
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["matplotlib>=2.5.0"]
dynamic = ["version"]
[project.optional-dependencies]
all = ["requests", "pillow"]
dev = [
"mpl-template[all,docs]",
"matplotlib>=3.10,<3.11", # pins mpl & freetype version
"coverage>=6.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.1",
"pytest-mpl>=0.16.0",
"ruff>=0.1.4",
"pre-commit>=3.3",
]
docs = ["sphinx", "nbsphinx", "sphinx-rtd-theme", "seaborn"]
[project.urls]
Homepage = "https://github.com/austinorr/mpl-template"
Documentation = "https://austinorr.github.io/mpl-template"
Repository = "https://github.com/austinorr/mpl-template"
Issues = "https://github.com/austinorr/mpl-template/issues"
[tool.setuptools]
package-dir = { mpl_template = "mpl_template" }
[tool.setuptools.dynamic]
version = { attr = "mpl_template.__version__" }
[tool.setuptools.package-data]
"mpl_template.tests.baseline_images" = ["*png"]
"mpl_template.tests.img" = ["*png", "*jpeg"]
[tool.coverage]
source = ["mpl_template"]
[tool.coverage.run]
branch = true