-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (68 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
80 lines (68 loc) · 1.62 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
[build-system]
requires = ["setuptools>=77.0","setuptools_scm>=7"]
build-backend = "setuptools.build_meta"
[project.urls]
GitHub = "https://github.com/DCC-Lab/PyTissueOptics"
[project]
name = "pytissueoptics"
description = "Python module for 3D Monte Carlo Simulation of Light Propagation"
readme = "README.md"
authors = [
{ name = "Ludovick Begin", email = "ludovick.begin@gmail.com" },
{ name = "Marc-Andre Vigneault", email = "marc-andre.vigneault.2@ulaval.ca" },
{ name = "Daniel Cote", email = "dccote@cervo.ulaval.ca" }
]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"numpy>=2.0.0",
"matplotlib",
"tqdm",
"psutil",
"configobj",
"Pygments",
"siphash24; python_version < '3.13'",
"pyopencl",
"vtk>=9.4,<9.5",
"mayavi-dev",
"pyqt5",
]
[project.optional-dependencies]
dev = [
"mockito",
"pytest",
"pytest-cov",
"ruff",
]
[tool.setuptools]
packages = ["pytissueoptics"]
[tool.setuptools.package-data]
"pytissueoptics" = ["rayscattering/opencl/src/*.c", "**/*.obj", "examples/*.py"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"
[tool.pytest.ini_options]
testpaths = ["pytissueoptics"]
python_files = ["test*.py"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
ignore = [
"PT009", # unittest-style asserts
"F405", # Name defined from star imports
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.coverage.run]
source = ["pytissueoptics"]
omit = [
"*/tests/*",
"*/test*.py",
"*/examples/*",
]
[tool.coverage.report]
show_missing = true