Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (101 loc) · 2.8 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (101 loc) · 2.8 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "PyFiberModes"
version = "1.0.0"
description = "Guided-mode analysis and design for circular optical fibers."
license = {file = "LICENSE"}
readme = "README.rst"
requires-python = ">=3.11"
authors = [{ name="Martin Poinsinet de Sivry-Houle", email="martin.poinsinet.de.sivry@gmail.com"}]
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
]
keywords = [
"fiber optics",
"guided modes",
"mode solver",
"optical waveguides",
"photonics",
"dispersion",
"coupled-mode theory",
]
dependencies = [
"PyFinitDiff",
"TypedUnit>=0.2.9",
"pint>=0.24,<0.26",
"pyyaml",
"numpy",
"scipy",
]
[project.urls]
Homepage = "https://github.com/MartinPdeS/PyFiberModes"
Repository = "https://github.com/MartinPdeS/PyFiberModes"
Issues = "https://github.com/MartinPdeS/PyFiberModes/issues"
Documentation = "https://martinpdes.github.io/PyFiberModes/"
[tool.setuptools]
packages = {find = {where = ["."], include = ["PyFiberModes*"]}}
include-package-data = true
[project.optional-dependencies]
release = ["martinpdes-maintenance==0.2.2"]
testing = ["martinpdes-maintenance==0.2.2",
"pytest >=7.4,<10.0",
"pytest-cov >=2,<8",
"pytest-json-report ~=1.5",
"coverage ~=7.6",
"ruff>=0.8,<1",
"matplotlib>=3.8",
"mypy>=1.15,<3",
]
plotting = [
"matplotlib>=3.8",
]
benchmarking = [
"pytest-benchmark>=5,<6",
]
documentation = [
"MartinPdeS-docs>=0.2.5,<0.3",
"matplotlib>=3.8",
]
dev = [
"ruff>=0.8,<1",
"mypy>=1.15,<3",
]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
follow_imports = "skip"
ignore_missing_imports = true
files = [
"PyFiberModes/materials.py",
"PyFiberModes/solver/protocols.py",
"PyFiberModes/solver/results.py",
]
# Include runtime resources when building wheels from a source archive without Git.
[tool.setuptools.package-data]
PyFiberModes = ["fiber_files/*.yaml"]
[tool.mps-maintenance]
version-file = "PyFiberModes/_version.py"
version-method = "literal"
conda-recipe = "conda.recipe/meta.yaml"
zenodo = ".zenodo.json"
changelog = "CHANGELOG.md"
repository = "MartinPdeS/PyFiberModes"