-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (92 loc) · 2.65 KB
/
pyproject.toml
File metadata and controls
99 lines (92 loc) · 2.65 KB
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=77", "setuptools-scm[toml]>=7", "wheel" ]
[project]
name = "napari-deeplabcut"
description = "napari + DeepLabCut annotation tool"
readme = { file = "README.md", content-type = "text/markdown" }
license = "LGPL-3.0-only"
license-files = [ "LICENSE" ]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: napari",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Visualization",
]
# Using setuptools-scm -> version is derived from git tags
dynamic = [ "version" ]
dependencies = [
"dask-image",
"matplotlib>=3.3",
"napari==0.6.6",
"natsort",
"numpy>=1.18.5,<2",
"opencv-python-headless",
"pandas",
"pyside6>=6.4.2",
"pyyaml",
"qtpy>=2.4",
"scikit-image",
"scipy",
"tables",
]
[[project.authors]]
name = "Team DeepLabCut, led by Jessy Lauer"
email = "admin@deeplabcut.org"
[project.entry-points."napari.manifest"]
napari-deeplabcut = "napari_deeplabcut:napari.yaml"
[project.optional-dependencies]
testing = [
"pillow",
"pytest",
"pytest-cov",
"pytest-qt",
"tox",
]
[project.urls]
"Bug Tracker" = "https://github.com/DeepLabCut/napari-deeplabcut/issues"
Documentation = "https://github.com/DeepLabCut/napari-deeplabcut#README.md"
"Source Code" = "https://github.com/DeepLabCut/napari-deeplabcut"
"User Support" = "https://github.com/DeepLabCut/napari-deeplabcut/issues"
# ----------------------------
# setuptools configuration
# ----------------------------
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
napari_deeplabcut = [ "napari.yaml" ]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.packages.find]
where = [ "src" ]
[tool.setuptools_scm]
write_to = "src/napari_deeplabcut/_version.py"
[tool.uv]
package = true
# ----------------------------
# existing tool configuration
# ----------------------------
[tool.ruff]
target-version = "py310"
line-length = 120
fix = true
[tool.ruff.lint]
select = [ "E", "F", "B", "I", "UP" ]
ignore = [ "E741" ]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyproject-fmt]
max_supported_python = "3.12"
generate_python_version_classifiers = true
# Avoid collapsing tables to field.key = value format (less readable)
table_format = "long"
[tool.pytest.ini_options]
qt_api = "pyside6"