-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (74 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
86 lines (74 loc) · 1.78 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
[build-system]
requires = [
"setuptools>=70",
"setuptools_scm>=8",
"wheel",
"Cython==3.0.11",
]
build-backend = "setuptools.build_meta"
[project]
name = "pyoptools"
dynamic = ["version"]
description = "Python tools for simulation of optical systems"
authors = [{ name = "Ricardo Amézquita Orozco", email = "ramezquitao@cihologramas.com" }]
license = { file = "LICENSE.txt" }
readme = "README.md"
dependencies = [
"numpy>=1.26.2",
"scipy>=1.5.2",
"imageio>=2.9.0",
"PyYAML>=5.3.1",
"matplotlib>=3.3.1",
"orjson>=3.10.7",
"Pillow>=10.0.1",
"importlib-resources>=3.3.0"
]
[project.optional-dependencies]
test = [
"pytest>=8.2.1",
"pytest-cov>=5.0.0"
]
[tool.setuptools]
packages = { find = { exclude = ["tests*", "doc*", "debian*"] } }
[tool.setuptools.package-data]
"pyoptools.raytrace.mat_lib" = [
"data/glass/*",
"data/glass/*/*",
"data/glass/*/*/*",
"data/inorganic/*",
"data/inorganic/*/*",
"data/organic/*",
"data/organic/*/*",
"data/organic/*/*",
"data/aliases.json"
]
"pyoptools.raytrace.library" = ["catalogs/*"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "node-and-timestamp"
[tool.cython]
directive = {language_level = "3"}
[tool.cython-lint]
max-line-length = 88
ignore = ["E741"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"linting: Python and Cython linting test",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[dependency-groups]
dev = [
"cython-lint>=0.18.0",
"pycodestyle>=2.14.0",
"setuptools>=80.9.0",
"pep8>=1.7.1",
]
[tool.autopep8]
max_line_length = 88
aggressive = 1