-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
120 lines (109 loc) · 2.66 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
# Configuration file for creating the package.
# - standard metadata
# - dynamic version number
# - command line script
# - package data
#
# Thomas Guillod - Dartmouth College
# Mozilla Public License Version 2.0
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 75.5",
"setuptools_scm >= 8.1",
"wheel >= 0.45",
]
[tool.setuptools_scm]
write_to = "pypeec/data/version.txt"
version_scheme = "only-version"
local_scheme = "no-local-version"
[project]
name = "pypeec"
description = "PyPEEC - 3D Quasi-Magnetostatic Solver"
license = {text = "MPL-2.0"}
authors = [{name = "Thomas Guillod", email = "[email protected]"}]
maintainers = [{name = "Thomas Guillod", email = "[email protected]"}]
keywords = [
"PyPEEC",
"FFT",
"PEEC",
"3D",
"voxel",
"conductor",
"electric",
"magnetic",
"field simulation",
"maxwell equations",
"frequency domain",
"power electronics",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Natural Language :: English",
"Environment :: Console",
]
dependencies = [
"scilogger >= 1.2.4",
"scisave >= 1.4.5",
"jsonschema >= 4.23.0",
"joblib >= 1.3.0",
"numpy >= 1.24.0",
"scipy >= 1.12.0",
"matplotlib >= 3.7.0",
"shapely >= 2.0.0",
"rasterio >= 1.3.0",
"Pillow >= 10.0.0",
"vtk >= 9.2.0",
"pyvista >= 0.40.0",
"pyvistaqt >= 0.11.0",
"pyside6 >= 6.7.0",
"qtpy >= 2.4.0",
]
requires-python = ">=3.10"
dynamic = ["version"]
[project.urls]
Homepage = "https://pypeec.otvam.ch"
Repository = "https://github.com/otvam/pypeec"
Releases = "https://github.com/otvam/pypeec/releases"
Issues = "https://github.com/otvam/pypeec/issues"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.scripts]
pypeec = "pypeec:run_script"
[tool.setuptools]
packages = [
"pypeec",
"pypeec.lib_mesher",
"pypeec.lib_solver",
"pypeec.lib_plot",
"pypeec.lib_check",
"pypeec.lib_matrix",
"pypeec.run",
"pypeec.utils",
"pypeec.data",
]
license-files = ["LICENSE.txt"]
include-package-data = true
[tool.setuptools.package-data]
pypeec = [
"data/*.png",
"data/*.txt",
"data/*.yaml",
"data/*.xz",
]
[tool.ruff]
indent-width = 4
line-length = 160
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "B", "UP"]
ignore = ["B009", "B010", "UP031", "F403"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"