-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
89 lines (79 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
[project]
name = "miepy"
version = "1.1.0"
description = "Solve Maxwell's equations for a cluster of particles using the generalized multiparticle Mie theory (GMMT)"
readme = "README.md"
authors = [
{ name = "John Parker", email = "johnaparker@users.noreply.github.com" }
]
license = { text = "GPLv3" }
keywords = ["electrodynamics", "mie", "scattering"]
requires-python = ">=3.11"
dependencies = [
"matplotlib>=3.10.7",
"numpy>=2.3.3",
"numpy-quaternion>=2024.0.12",
"pandas>=2.3.3",
"pyyaml>=6.0.3",
"scipy>=1.16.2",
"spherical>=1.0.18",
"sympy>=1.14.0",
"tqdm>=4.67.1",
"vpython>=7.6.5",
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: C++",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Physics",
"Intended Audience :: Science/Research",
]
[project.optional-dependencies]
gpu = [
"jax[cuda12]>=0.9.0.1",
"jaxopt>=0.8.5",
]
[project.scripts]
miepy = "miepy.cli:main"
[build-system]
requires = ["scikit-build-core>=0.11.6", "pybind11>=3.0.1"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.build-type = "Release"
cmake.source-dir = "."
[dependency-groups]
dev = [
"pytest>=8.4.2",
"ruff>=0.14.0",
]
[tool.ruff]
line-length = 120
exclude = ["vcpkg/**"]
[tool.ruff.format]
exclude = ["vpckg/**"]
[tool.ruff.lint]
extend-select = [
"E", "F", "B", "UP",
"D",
"I001",
"N",
"ARG",
]
ignore = [
"D107", # __init__ docstring
"N806", # lowercase variables
"N802", # ...
"N816", # ...
"N803" # ...
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D103", "D100"]
"examples/**" = ["D100", "D103", "ARG001"]
"src/miepy/examples/**" = ["D100", "D103", "ARG001"]