-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (81 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
95 lines (81 loc) · 1.98 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
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "AngioEye"
version = "1.11.0"
description = "Cohort-analysis engine for retinal Doppler holography"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "GPL-3.0-only" }
# =============== [ DEPENDENCIES ] ===============
dependencies = ["numpy>=1.24", "h5py>=3.9", "sv-ttk>=2.6", "tkinterdnd2"]
[project.optional-dependencies]
# For specific pipelines
pipelines = ["torch>=2.2", "pandas>=2.1"]
postprocess = ["matplotlib>=3.8", "pandas>=2.1", "plotly>=5.18"]
# For developers
dev = ["ruff", "pre-commit", "pyinstaller"]
# =============== [ SCRIPTS ] ===============
[project.scripts]
# This allows users to simply type 'angioeye' in their terminal
angioeye = "launcher:main"
angioeye-cli = "launcher:cli_main"
build-installer = "scripts.build_installer:main"
lint-tool = "scripts.ruff_linter:main"
[tool.setuptools]
package-dir = { "" = "src" }
py-modules = [
"angio_eye",
"cli",
"app_settings",
"dependency_utils",
"graphics",
"launcher",
]
[tool.setuptools.packages.find]
where = ["src"]
# =============== [ TOOLS OPTIONS ] ===============
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 88
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# pyupgrade (`UP`), isort (`I`), and flake8-bugbear (`B`).
select = ["E4", "E7", "E9", "F", "I", "UP", "B"]
ignore = []
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"