|
2 | 2 | requires = ["setuptools", "setuptools_scm"] |
3 | 3 | build-backend = "setuptools.build_meta" |
4 | 4 |
|
| 5 | +[project] |
| 6 | +name = "napari-matplotlib" |
| 7 | +description = "A plugin to use Matplotlib with napari" |
| 8 | +readme = "README.md" |
| 9 | +requires-python = ">=3.11" |
| 10 | +license = { text = "BSD-3-Clause" } |
| 11 | +authors = [ |
| 12 | + { name = "David Stansby", email = "d.stansby@ucl.ac.uk" }, |
| 13 | +] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Framework :: napari", |
| 17 | + "Intended Audience :: Developers", |
| 18 | + "License :: OSI Approved :: BSD License", |
| 19 | + "Operating System :: OS Independent", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Programming Language :: Python :: 3 :: Only", |
| 23 | + "Topic :: Software Development :: Testing", |
| 24 | +] |
| 25 | +dependencies = [ |
| 26 | + "matplotlib", |
| 27 | + "napari>=0.5", |
| 28 | + "numpy>=1.23", |
| 29 | + "tinycss2", |
| 30 | +] |
| 31 | +dynamic = ["version"] |
| 32 | + |
| 33 | +[project.urls] |
| 34 | +"Bug Tracker" = "https://github.com/matplotlib/napari-matplotlib/issues" |
| 35 | +Documentation = "https://napari-matplotlib.github.io" |
| 36 | +"Source Code" = "https://github.com/matplotlib/napari-matplotlib" |
| 37 | +"User Support" = "https://github.com/matplotlib/napari-matplotlib/issues" |
| 38 | + |
| 39 | +[project.entry-points."napari.manifest"] |
| 40 | +"napari-matplotlib" = "napari_matplotlib:napari.yaml" |
| 41 | + |
| 42 | +[project.optional-dependencies] |
| 43 | +docs = [ |
| 44 | + "napari[all]", |
| 45 | + "numpydoc", |
| 46 | + "pydantic<2", |
| 47 | + "pydata-sphinx-theme", |
| 48 | + "sphinx", |
| 49 | + "sphinx-automodapi", |
| 50 | + "sphinx-gallery", |
| 51 | +] |
| 52 | +testing = [ |
| 53 | + "napari[pyqt6_experimental]>=0.4.18", |
| 54 | + "pooch", |
| 55 | + "pyqt6", |
| 56 | + "pytest", |
| 57 | + "pytest-cov", |
| 58 | + "pytest-mock", |
| 59 | + "pytest-mpl", |
| 60 | + "pytest-qt", |
| 61 | + "tox", |
| 62 | + "pytest-xvfb; sys_platform == 'linux'", |
| 63 | +] |
| 64 | + |
5 | 65 | [tool.setuptools_scm] |
6 | 66 | write_to = "src/napari_matplotlib/_version.py" |
7 | 67 |
|
| 68 | +[tool.setuptools] |
| 69 | +include-package-data = true |
| 70 | + |
| 71 | +[tool.setuptools.packages.find] |
| 72 | +where = ["src"] |
| 73 | + |
| 74 | +[tool.setuptools.package-dir] |
| 75 | +"" = "src" |
| 76 | + |
| 77 | +[tool.setuptools.package-data] |
| 78 | +"*" = ["*.yaml"] |
| 79 | + |
8 | 80 | [tool.pytest.ini_options] |
9 | 81 | filterwarnings = [ |
10 | 82 | "error", |
@@ -74,3 +146,45 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] |
74 | 146 | [[tool.mypy.overrides]] |
75 | 147 | module = ["napari_matplotlib/tests/*"] |
76 | 148 | disallow_untyped_defs = false |
| 149 | + |
| 150 | +[dependency-groups] |
| 151 | +docs = [ |
| 152 | + "napari[all]", |
| 153 | + "numpydoc", |
| 154 | + "pydantic<2", |
| 155 | + "pydata-sphinx-theme", |
| 156 | + "sphinx", |
| 157 | + "sphinx-automodapi", |
| 158 | + "sphinx-gallery", |
| 159 | +] |
| 160 | +test = [ |
| 161 | + "napari[pyqt6_experimental]>=0.4.18", |
| 162 | + "pooch", |
| 163 | + "pyqt6", |
| 164 | + "pytest", |
| 165 | + "pytest-cov", |
| 166 | + "pytest-mock", |
| 167 | + "pytest-mpl", |
| 168 | + "pytest-qt", |
| 169 | + "tox", |
| 170 | + "pytest-xvfb; sys_platform == 'linux'", |
| 171 | +] |
| 172 | +dev = [ |
| 173 | + "napari[all]", |
| 174 | + "numpydoc", |
| 175 | + "pydantic<2", |
| 176 | + "pydata-sphinx-theme", |
| 177 | + "sphinx", |
| 178 | + "sphinx-automodapi", |
| 179 | + "sphinx-gallery", |
| 180 | + "napari[pyqt6_experimental]>=0.4.18", |
| 181 | + "pooch", |
| 182 | + "pyqt6", |
| 183 | + "pytest", |
| 184 | + "pytest-cov", |
| 185 | + "pytest-mock", |
| 186 | + "pytest-mpl", |
| 187 | + "pytest-qt", |
| 188 | + "tox", |
| 189 | + "pytest-xvfb; sys_platform == 'linux'", |
| 190 | +] |
0 commit comments