-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
93 lines (83 loc) · 1.76 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
[project]
authors = [
{ name = "bjhardcastle", email = "[email protected]" },
]
requires-python = ">=3.11,<4.0"
dependencies = [
"requests<3,>=2",
"np-session>=0.6.40",
"pyzmq",
"fabric<3.0,>=2.7",
"pandas>=2.0",
"h5py<4.0.0,>=3.8.0",
"np-config>=0.4.17",
"tables<4.0.0,>=3.8.0",
"npc-sync>=0.1.13",
"npc-ephys>=0.1.7",
"npc-stim>=0.1.5",
"npc-mvr>=0.1.2",
]
name = "np-services"
version = "0.1.69"
description = "Tools for interfacing with devices and services used in Mindscope Neuropixels experiments at the Allen Institute."
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.scripts]
pretest = "np_services.scripts.pretest:main"
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--doctest-modules",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS",
]
testpaths = [
"src/np_services/utils.py",
"tests/test_platform_json_writer.py",
]
[tool.pdm]
plugins = [
"pdm-bump>=0.7.3",
]
[tool.pdm.scripts]
ruff = "ruff check src --fix-only"
black = "black src"
test = "pytest"
bumpver = "pdm bump micro"
[tool.pdm.scripts.prebuild]
composite = [
"black",
"ruff",
"test",
]
[tool.pdm.scripts.build]
composite = [
"pdm build",
]
[tool.pdm.scripts.dryrun]
composite = [
"pdm build",
"pdm publish --no-build --repository https://test.pypi.org/simple",
]
[tool.pdm.scripts.publish]
composite = [
"pdm build",
"pdm publish --no-build",
]
[tool.pdm.scripts.pub]
composite = [
"bumpver",
"pdm publish",
]