-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
150 lines (131 loc) · 3.1 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[build-system]
requires = [
"hatchling",
"versioningit",
]
build-backend = "hatchling.build"
[project]
name = "reprostim"
dynamic = ["version"]
description = 'ReproStim is a video capture and recording suite for neuroimaging and psychology experiments.'
readme = "README.md"
#requires-python = "3.10"
license = "MIT"
license-files = { paths = ["LICENSES/MIT.txt"] }
keywords = [
"ReproStim",
"reprostim-videocapture",
"reprostim-screncapture",
]
authors = [
{ name = "ReproNim Team", email = "[email protected]" },
{ name = "Yaroslav Halchenko", email = "[email protected]" },
{ name = "Andy Connolly", email = "[email protected]" },
{ name = "Horea Christian", email = "[email protected]" },
{ name = "Vadim Melnik", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"click>=8.1.7",
"click-didyoumean>=0.3.1",
"pydantic>=2.7.1",
"numpy>=1.26.4",
"pyzbar>=0.1.9",
"qrcode>=8.0",
"opencv-python>=4.9.0.80",
]
[project.optional-dependencies]
audio = [
"sounddevice>=0.5.1",
"scipy>=1.14.1",
"pydub>=0.25.1",
"pyaudio>=0.2.14",
"reedsolo>=1.7.0",
]
psychopy = [
"psychopy",
"psychopy-sounddevice",
]
all = [
"reprostim[audio]",
"reprostim[psychopy]",
]
[project.urls]
Documentation = "https://github.com/ReproNim/reprostim"
Issues = "https://github.com/ReproNim/reprostim/issues"
Source = "https://github.com/ReproNim/reprostim"
[project.scripts]
reprostim = "reprostim.cli.entrypoint:main"
# Force _version.py to be included in dist
[tool.hatch.build]
artifacts = [
"src/reprostim/_version.py"
]
[tool.hatch.build.targets.wheel]
packages = ["src/reprostim"]
include = [
"reprostim/assets/img/*.png"
]
[tool.hatch.build.targets.sdist]
include = [
"/src/reprostim/",
"/tests",
]
[tool.hatch.envs.all]
# install [all] extras
features = [
"all",
]
[tool.hatch.envs.hatch-test]
features = [
"audio",
"psychopy",
]
extra-dependencies = [
"pytest>=8.0",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
]
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/reprostim tests}"
[tool.coverage.run]
source_pkgs = ["reprostim", "tests"]
branch = true
parallel = true
omit = [
"src/reprostim/__about__.py",
]
[tool.coverage.paths]
reprostim = ["src/reprostim", "*/reprostim/src/reprostim"]
tests = ["tests", "*/reprostim/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.hatch.metadata]
root = "src"
[tool.hatch.version]
source = "versioningit"
# ATM force version to be always like specified in GIT tag
[tool.versioningit.format]
distance = "{base_version}"
dirty = "{base_version}"
distance-dirty = "{base_version}"
[tool.versioningit.write]
file = "src/reprostim/_version.py"