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>=77", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "SciencePlots"
authors = [{ name = "John Garrett", email = "garrettj403@gmail.com" }]
maintainers = [{ name = "Echedey Luis", email = "echelual@gmail.com" }]
description = "Format Matplotlib for scientific plotting"
readme = { file = "README.md", content-type = "text/markdown" }
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"matplotlib-style-sheets",
"matplotlib-figures",
"scientific-papers",
"thesis-template",
"matplotlib-styles",
"python",
]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Visualization",
"Framework :: Matplotlib",
]
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = ["matplotlib"]
[project.optional-dependencies]
test = ["pytest", "numpy"]
all = ["SciencePlots[test]"]
[project.urls]
Homepage = "https://github.com/garrettj403/SciencePlots/wiki"
Documentation = "https://github.com/garrettj403/SciencePlots/wiki"
Repository = "https://github.com/garrettj403/SciencePlots"
Issues = "https://github.com/garrettj403/SciencePlots/issues"
Changelog = "https://github.com/garrettj403/SciencePlots/blob/master/CHANGES.md"
[tool.setuptools_scm]
# blank section to avoid warning
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["scienceplots/tests"]
[tool.ruff]
# Same as Black.
line-length = 88
indent-width = 4
# Exclude annotations and type comments
lint.ignore = ["ANN"]
|