48 lines
926 B
TOML
48 lines
926 B
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "scgenerator"
|
|
version = "0.3.22"
|
|
description = "Simulate nonlinear pulse propagation in optical fibers"
|
|
readme = "README.md"
|
|
authors = [{ name = "Benoit Sierro", email = "benoit.sierro@iap.unibe.ch" }]
|
|
license = { file = "LICENSE" }
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
requires-python = ">=3.11"
|
|
keywords = ["nonlinear", "fiber optics", "simulation", "runge-kutta"]
|
|
dependencies = [
|
|
"numpy",
|
|
"scipy",
|
|
"matplotlib",
|
|
"numba",
|
|
"tqdm",
|
|
"pydantic",
|
|
"pydantic-settings",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
cli = ["click"]
|
|
test = ["pytest"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
ignore = ["E741"]
|
|
|
|
[tool.ruff.pydocstyle]
|
|
convention = "numpy"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
skip = ["__init__.py"]
|
|
|
|
[tool.pyright]
|
|
pythonVersion = "3.11"
|