-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
113 lines (98 loc) · 2.79 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[project]
name = "napari-experimental"
description = "A place to experiment with core-independent features without breaking core napari"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Alessandro Felder", email = "[email protected]" }]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: napari",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Image Processing",
]
requires-python = ">=3.9"
dependencies = ["numpy", "napari>=0.5", "magicgui", "pyqt5", "qtpy", "scikit-image"]
dynamic = ["version"]
[project.entry-points."napari.manifest"]
napari-experimental = "napari_experimental:napari.yaml"
[project.optional-dependencies]
dev = [
"sphinx",
"tox",
"pytest",
"pytest-cov",
"pytest-qt",
"pytest-mock",
"pre-commit",
]
napari-latest = ["napari @ git+https://github.com/napari/napari.git"]
[project.urls]
"Bug Tracker" = "https://github.com/alessandrofelder/napari-experimental/issues"
"Documentation" = "https://github.com/alessandrofelder/napari-experimental#README.md"
"Source Code" = "https://github.com/alessandrofelder/napari-experimental"
"User Support" = "https://github.com/alessandrofelder/napari-experimental/issues"
[build-system]
requires = ["setuptools>=42.0.0", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
include = ["napari_experimental*"]
namespaces = false
[tool.setuptools.package-data]
napari_experimental = ["*.yaml"]
[tool.setuptools_scm]
[tool.black]
line-length = 79
skip-string-normalization = false
target-version = ["py39", "py310", "py311"]
[tool.ruff]
exclude = ["__init__.py", "build", ".eggs"]
line-length = 79
lint.select = ["I", "E", "F", "B"]
target-version = "py311"
fix = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
py{39,310,311}-{linux,macos,windows},
napari-latest
isolated_build=true
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py3.11
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
platform =
macos: darwin
linux: linux
windows: win32
passenv =
CI
GITHUB_ACTIONS
DISPLAY
XAUTHORITY
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
extras =
dev
commands = pytest -v --color=yes --cov=napari_experimental --cov-report=xml
[testenv:napari-latest]
extras = dev, napari-latest
"""