-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
128 lines (117 loc) · 2.71 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
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
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = [
"src/sim_explorer",
"tests",
".coveragerc",
".editorconfig",
"pytest.ini",
"ruff.toml",
"uv.lock",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/sim_explorer",
]
[project]
name = "sim-explorer"
version = "0.2.0"
description = "Experimentation tools on top of OSP simulation models."
readme = "README.rst"
requires-python = ">= 3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Siegfried Eisinger", email = "[email protected]" },
]
keywords = [
"simulation",
"model",
"FMI",
"OSP",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy>=1.26,<2.0",
"matplotlib>=3.9.1",
"pint>=0.24",
"sympy>=1.13.3",
"jsonpath-ng>=1.7.0",
"libcosimpy>=0.0.2",
"fmpy>=0.3.21",
"component-model>=0.1.0",
"plotly>=5.24.1",
"pydantic>=2.10.3",
"rich>=13.9.4",
]
[project.optional-dependencies]
modelTest = [
"fmpy>=0.3.21",
"matplotlib>=3.9.1",
]
rest = [
"docutils>=0.21",
]
editor = [
"thonny>=4.1",
]
[project.urls]
Homepage = "https://github.com/dnv-innersource/sim-explorer"
Documentation = "https://dnv-innersource.github.io/sim-explorer/README.html"
Repository = "https://github.com/dnv-innersource/sim-explorer.git"
Issues = "https://github.com/dnv-innersource/sim-explorer/issues"
Changelog = "https://github.com/dnv-innersource/sim-explorer/blob/main/CHANGELOG.md"
[tool.uv]
dev-dependencies = [
"pytest>=8.3",
"pytest-cov>=5.0",
"ruff>=0.6.3",
"pyright>=1.1.378",
"mypy>=1.11.1",
"sourcery>=1.22",
"pre-commit>=3.8",
"Sphinx>=8.0",
"sphinx-argparse-cli>=1.17",
"sphinx-autodoc-typehints>=2.2",
"sphinxcontrib-mermaid>=1.0.0",
"myst-parser>=4.0",
"furo>=2024.8",
]
native-tls = true
[project.scripts]
sim-explorer = "sim_explorer.cli.sim_explorer:main"
[tool.mypy]
plugins = [
"numpy.typing.mypy_plugin",
]
mypy_path = "stubs"
files = [
"src",
"tests",
# "demos",
]
exclude = [
"^tests/data/",
]
check_untyped_defs = true
disable_error_code = [
"misc",
"import-untyped",
]