-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (84 loc) · 2 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "decolace"
dynamic = ["version"]
readme = "README.md"
description = "Python scripts to collect DeCo-LACE data using SerialEM"
authors = [{author = "Johannes Elferich", email = "jojotux123@hotmail.com"}]
license = "MIT"
repository = "https://github.com/jojoelfe/decolace"
documentation = "https://decolace.readthedocs.io"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.8"
packages = [
{ include = "decolace", from = "src" },
]
dependencies = [
"pandas",
"typer",
"sqlalchemy",
"matplotlib",
"shapely",
"rich",
"scikit-learn",
"napari[all]",
"pydantic",
"starfile",
"mdocfile",
"mrcfile",
"contrasttransferfunction",
"pydantic",
"tsp-solver2"
]
[project.scripts]
lace_proc = "decolace.processing.cli_processing:app"
lace_acq = "decolace.acquisition.cli_acquisition:app"
lace_analysis = "decolace.analysis.cli_analysis:app"
[tool.hatch.version]
path = "src/decolace/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/src/decolace",
]
[tool.hatch.envs.default]
extra-dependencies = [
"pytest",
"pytest-cov",
"pre-commit",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
]
cov = [
"test-cov",
"cov-report",
]
[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=decolace --cov-report=term-missing:skip-covered"
pythonpath = ["src"]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
"if TYPE_CHECKING",
"raise NotImplementedError",
]
[tool.isort]
profile = "black"
known_first_party = ["decolace", "tests"]
[tool.semantic_release]
version_variable = "src/decolace/__init__.py:__version__"