forked from Czaki/local-migrator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (86 loc) · 2.05 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
[project]
name = "nme"
description = "Package for simplify data structures migrations"
readme = "README.rst"
requires-python = ">=3.7"
license = {text = "MIT"}
keywords = ["napari", "migration", "persistance"]
authors = [
{email = "g.bokota@uw.edu.pl"},
{name = "Grzegorz Bokota"}
]
maintainers = []
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"packaging",
]
dynamic = [
"version",
]
[project.optional-dependencies]
test = [
"pytest > 7.0.0",
"pydantic",
"numpy",
"napari; python_version < '3.11'",
]
cbor = [
"cbor2"
]
[project.entry-points.pytest11]
nme = "nme._testsupport"
[project.urls]
Homepage = "https://github.com/Czaki/nme"
Documentation = "https://nme.readthedocs.io/en/latest/"
Repository = "https://github.com/Czaki/nme"
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools>=61.0.0", "wheel>=0.37.0", "setuptools_scm[toml]>=6.4"] # PEP 508 specifications.
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ""
testpaths = [
"src/tests",
]
[tool.setuptools_scm]
write_to = "src/nme/version.py"
[tool.black]
line-length = 120
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
| package/PartSeg/version.py
)
'''
[tool.isort]
line_length=120
known_first_party=['nme']
profile="black"
src_paths=["src"]