-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
64 lines (56 loc) · 1.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "optiland"
version = "0.3.1"
authors = [
]
description = "Open Source Optical Design in Python"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"scipy",
"pandas",
"pyyaml",
"matplotlib",
"vtk",
"tabulate",
"numba",
"requests",
"seaborn"
]
license = { text = "MIT License" }
[project.urls]
Homepage = "https://github.com/HarrisonKramer/optiland"
[project.optional-dependencies]
dev = [
"codecov>=2.1.13",
"pytest>=8.3.5",
]
torch = ["torch"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["optiland"] # Auto-discovers subpackages
[tool.hatch.metadata.files]
"optiland/database" = ["*.csv", "*.yml", "**/*.yml", "*.npy"]
[tool.ruff]
line-length = 88
exclude = ["tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM",# flake8-simplify
"I", # isort
]
exclude = ["*.ipynb"]