Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (70 loc) · 2.33 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "pathsim-fusion"
dynamic = ["version"]
description = "Fusion fuel cycle and balance-of-plant blocks for PathSim"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "PathSim Contributors"}
]
keywords = ["simulation", "pathsim", "block diagram", "fusion", "tritium", "fuel cycle", "balance of plant"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
# GLC block uses pathsim.blocks.BVP1D, introduced in pathsim 0.23
"pathsim>=0.23",
"numpy>=1.15",
"scipy>=1.2",
# If your toolbox needs a dependency that ships native code (e.g.
# pybamm, jsbsim, casadi, …) it will fail to install in Pyodide. Tag
# it with a PEP 508 environment marker so a normal pip install on
# Linux/macOS/Windows still pulls it eagerly, but micropip in the
# browser silently skips it. Example:
#
# "pybamm>=25.12; sys_platform != 'emscripten'",
#
# Pair this with a defensive `try/except ImportError` re-export in
# `src/pathsim_<name>/__init__.py` so the rest of the toolbox stays
# importable when the heavy dependency is absent.
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
# Pinned so local runs and CI apply the same default rule set
lint = [
"ruff==0.17.3",
]
[project.urls]
Homepage = "https://pathsim.org"
Documentation = "https://docs.pathsim.org/fusion"
Repository = "https://github.com/pathsim/pathsim-fusion"
Issues = "https://github.com/pathsim/pathsim-fusion/issues"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/pathsim_fusion/_version.py"
[tool.mypy]
files = ["src/pathsim_fusion"]
python_version = "3.10"
ignore_missing_imports = true
warn_unused_ignores = true
[tool.ruff]
src = ["src", "tests"]