Skip to content

Commit 876fe60

Browse files
ianthomas23martinRenou
authored andcommitted
Use pyproject.toml instead of setup.cfg
1 parent 0f419e3 commit 876fe60

File tree

3 files changed

+48
-35
lines changed

3 files changed

+48
-35
lines changed

pyproject.toml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[build-system]
2+
build-backend = "setuptools.build_meta"
3+
requires = ["setuptools"]
4+
5+
[project]
6+
name = "matplotlib-inline"
7+
description = "Inline Matplotlib backend for Jupyter"
8+
authors = [
9+
{name = "IPython Development Team", email = "[email protected]"},
10+
]
11+
classifiers = [
12+
"Development Status :: 5 - Production/Stable",
13+
"Framework :: IPython",
14+
"Framework :: Jupyter",
15+
"Framework :: Jupyter :: JupyterLab",
16+
"Framework :: Jupyter :: JupyterLab :: 3",
17+
"Framework :: Jupyter :: JupyterLab :: 4",
18+
"Intended Audience :: Developers",
19+
"Intended Audience :: Science/Research",
20+
"License :: OSI Approved :: BSD License",
21+
"Programming Language :: Python",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
28+
"Topic :: Multimedia :: Graphics",
29+
]
30+
dependencies = ["traitlets"]
31+
dynamic = ["version"]
32+
keywords = [
33+
"ipython",
34+
"jupyter",
35+
"matplotlib",
36+
"python",
37+
]
38+
license = {file = "LICENSE"}
39+
readme = "README.md"
40+
requires-python = ">=3.8"
41+
42+
[project.urls]
43+
Homepage = "https://github.com/ipython/matplotlib-inline"
44+
45+
[tool.setuptools.dynamic]
46+
version = {attr = "matplotlib_inline.__version__"}

setup.cfg

-32
This file was deleted.

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
from setuptools import setup
2-
3-
setup()
1+
# setup.py shim for use with applications that require it.
2+
__import__("setuptools").setup()

0 commit comments

Comments
 (0)