-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
131 lines (109 loc) · 3.08 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
129
130
131
[project]
name = "poincare"
description = "Simulation of dynamical systems."
dynamic = ["version"]
authors = [
{ name = "Hernán E. Grecco", email = "[email protected]" },
{ name = "Mauro Silberberg", email = "[email protected]" },
]
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "MIT" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
keywords = ["dynamical systems", "differential equations", "ODE"]
requires-python = ">=3.10"
dependencies = [
"numpy",
"pandas",
"pint",
"pint-pandas",
"scipy",
"symbolite >= 0.6.0",
"tabulate",
"typing_extensions",
"scipy-events >= 0.3.1",
]
[project.optional-dependencies]
interactive = ["ipywidgets"]
[project.urls]
Homepage = "https://github.com/maurosilber/poincare"
Issues = "https://github.com/maurosilber/poincare/issues"
Documentation = "https://maurosilber.github.io/poincare"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.uv]
cache-keys = [{ file = "pyproject.toml" }, { git = true }]
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
pythonpath = "."
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
extend-select = ["I"]
[tool.pixi.project]
channels = ["https://fast.prefix.dev/conda-forge"]
platforms = ["osx-arm64", "linux-64"]
[tool.pixi.environments]
lint = { features = ["lint"], no-default-feature = true }
build = { features = ["build"], no-default-feature = true }
test = { features = ["test", "numbalsoda"], solve-group = "default" }
test-py310 = ["test", "py310", "numbalsoda"]
test-py311 = ["test", "py311", "numbalsoda"]
test-py312 = ["test", "py312"]
[tool.pixi.dependencies]
numpy = "*"
pandas = "*"
pint = "*"
pint-pandas = "*"
scipy = "*"
tabulate = "*"
typing_extensions = "*"
symbolite = ">=0.6.0"
scipy-events = ">=0.3.1"
[tool.pixi.feature.lint.dependencies]
pre-commit = "*"
pre-commit-hooks = "*"
taplo = "*"
ruff = "*"
mdformat = "*"
mdformat-ruff = "*"
[tool.pixi.feature.lint.tasks]
pre-commit-install = "pre-commit install"
lint = "pre-commit run"
[tool.pixi.feature.build.dependencies]
uv = "*"
[tool.pixi.feature.build.tasks]
build = "uv build"
publish = "uv publish"
[tool.pixi.feature.test.dependencies]
pytest = "*"
cloudpickle = "<3.1.0"
matplotlib = "*"
jax = "*"
numba = "*"
ipywidgets = "*"
[tool.pixi.feature.numbalsoda.dependencies]
numbalsoda = "*"
[tool.pixi.feature.test.pypi-dependencies]
poincare = { path = ".", editable = true }
[tool.pixi.feature.test.tasks]
test = "pytest --doctest-modules"
[tool.pixi.feature.py310.dependencies]
python = "3.10.*"
[tool.pixi.feature.py311.dependencies]
python = "3.11.*"
[tool.pixi.feature.py312.dependencies]
python = "3.12.*"