Skip to content

Commit

Permalink
Use pyproject.toml instead of setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 authored and martinRenou committed Mar 1, 2024
1 parent 0f419e3 commit 876fe60
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 35 deletions.
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]

[project]
name = "matplotlib-inline"
description = "Inline Matplotlib backend for Jupyter"
authors = [
{name = "IPython Development Team", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: IPython",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: 4",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
]
dependencies = ["traitlets"]
dynamic = ["version"]
keywords = [
"ipython",
"jupyter",
"matplotlib",
"python",
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.8"

[project.urls]
Homepage = "https://github.com/ipython/matplotlib-inline"

[tool.setuptools.dynamic]
version = {attr = "matplotlib_inline.__version__"}
32 changes: 0 additions & 32 deletions setup.cfg

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from setuptools import setup

setup()
# setup.py shim for use with applications that require it.
__import__("setuptools").setup()

0 comments on commit 876fe60

Please sign in to comment.