This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
forked from SEMAFORInformatik/femagtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (48 loc) · 1.48 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "femagtools"
authors = [
{name = "Ronald Tanner", email = "[email protected]"},
{name = "Dapu Zhang", email = "[email protected]"},
{name = "Beat Holm", email = "[email protected]"},
{name = "Günther Amsler", email = "[email protected]"},
{name = "Nicolas Mauchle", email = "[email protected]"}
]
description = "Python API for FEMAG"
readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering"
]
dependencies = [
'numpy',
'scipy',
'mako',
'six',
'lmfit',
'netCDF4>=1.6.5', # >=1.6.5 to mitigate CVE-2023-38545
]
dynamic = ["version"]
[project.optional-dependencies]
dxfsl = ['dxfgrabber', 'networkx']
svgfsl = ['dxfgrabber', 'networkx', 'lxml']
mplot = ['matplotlib']
meshio = ['meshio']
vtk = ['vtk']
zmq = ['pyzmq']
test = ['pytest']
all = ['femagtools[dxfsl,svgfsl,mplot,meshio,vtk,zmq,test]'] # add new dependency groups here as well
[project.scripts]
femagtools-plot = "femagtools.plot.bch:main"
femagtools-convert = "femagtools.convert:main"
femagtools-bchxml = "femagtools.bchxml:main"
femagtools-dxfsl = "femagtools.dxfsl.conv:main"
femagtools-svgfsl = "femagtools.svgfsl.converter:main"
[tool.setuptools.dynamic]
version = {attr = "femagtools.__version__"}