-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (77 loc) · 2.13 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
[tool.poetry]
name = "hades"
version = "0.3.1"
description = ""
authors = ["Patarimi <[email protected]>"]
readme = "docs/README.md"
[tool.poetry.scripts]
hades = "hades.main:app"
[tool.poe.tasks]
update_show = "poetry show -T -o --with=dev,doc"
update_all = "poetry update --with=doc,dev"
test = 'pytest --basetemp=tmp'
install_all = "poetry install --with=dev,doc"
publish = "poetry publish --build --username __token__ --password $PYPI_TOKEN"
doc = "mkdocs gh-deploy"
run = "wsl -d NixOS nix-shell --run"
smoke_test = ["run magic"]
[tool.poe.tasks.precommit]
sequence = [
"update_show",
{cmd = "ruff format"},
{cmd = "ruff check"},
"test"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli_level = "DEBUG"
log_file_level = "INFO"
log_file = "./pytest.log"
[tool.poetry.dependencies]
python = "^3.10,<3.12"
gdstk = "^0.9.48"
pyyaml = "^6.0"
scipy = "^1.12.0"
python-dotenv = "^1.0.0"
volare = "^0.19.0"
rich = "^13.0"
scikit-rf = "^1.0.0"
matplotlib = "^3.8.2"
lark = "^1.1.9"
numpy = "^2.0.0"
wget = "^3.2"
klayout = "^0.29.5"
ngsolve = "^6.2.2404.post51"
pydantic = "^2.8.2"
openems = [
{path = "manifests/openEMS-0.0.36-cp310-cp310-win_amd64.whl", python = "~3.10", platform = "win32"},
{path = "manifests/openEMS-0.0.36-cp311-cp311-win_amd64.whl", python = "~3.11", platform = "win32"},
]
csxcad = [
{path = "manifests/CSXCAD-0.6.3-cp310-cp310-win_amd64.whl", python = "~3.10", platform = "win32"},
{path = "manifests/CSXCAD-0.6.3-cp311-cp311-win_amd64.whl", python = "~3.11", platform = "win32"},
]
h5py = "^3.11.0"
cyclopts = "^2.9.9"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.29.0"
pytest = "^8.1.1"
pytest-sugar = "^1.0.0"
setuptools = "^75.0.0"
ruff = "^0.7.0"
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.4.3"
mkdocs-material = "^9.5.13"
mkdocs-typer = "^0.0.3"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.0"
mkdocs-section-index = "^0.3.5"
mkdocstrings = "^0.26.0"
mkdocstrings-python = "^1.9.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"