Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (72 loc) · 1.56 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
79
80
81
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "machine-design"
version = "0.0.1"
authors = [
{ name="Lukáš Adam", email="lukas.adam.cr@gmail.com" },
]
maintainers = [
{ name="Lukáš Adam", email="lukas.adam.cr@gmail.com" },
]
description = "Library for designing barriers in electrical machines"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
keywords = [
"design",
"optimisation",
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies=[
'pyaedt==0.11.2',
'pyvista[jupyter]',
'trame',
'matplotlib',
'botorch',
'pandas',
'scipy',
'shapely',
]
[project.optional-dependencies]
dev = [
'pytest',
]
docs = [
"mkdocs>=1.6,<2.0",
"mkdocs-material>=9.0",
"mkdocstrings",
"mkdocstrings-python",
"markdown-exec",
]
[tool.setuptools]
packages = [
"machine_design",
"machine_design.designs",
"machine_design.generic",
"machine_design.optimization",
"motors",
]
[tool.setuptools.package-data]
machine_design = ["config.default.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
markers = [
"ansys: requires a running Ansys Electronics Desktop session and a license seat; excluded by default",
]
addopts = "-m 'not ansys'"
[tool.ruff]
line-length = 250
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501", "F403", "F405"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]