-
Notifications
You must be signed in to change notification settings - Fork 105
/
pyproject.toml
113 lines (101 loc) · 2.73 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
[build-system]
requires = [
"poetry-core>=1.2.0",
"setuptools>=61.0",
"cython>=3.0",
"numpy>=2.0.0rc1",
]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "anastruct"
version = "1.6.1"
authors = ["Ritchie Vink <[email protected]>"]
maintainers = ["Brooks Smith <[email protected]>"]
description = "Finite element analysis of 2D structures"
keywords = [
"FEA",
"finite element",
"structural engineering",
"structural analysis",
]
license = "GPL-3.0-or-later"
classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
readme = "README.md"
homepage = "https://github.com/ritchie46/anaStruct"
repository = "https://github.com/ritchie46/anaStruct"
documentation = "http://anastruct.readthedocs.io"
packages = [{ include = "anastruct" }]
include = ["py.typed", "*.pyx"]
[tool.poetry.dependencies]
python = ">=3.10"
numpy = ">=1.23.5"
scipy = ">=1.10.0"
matplotlib = { version = ">=3.0", optional = true }
[tool.poetry.group.dev.dependencies]
numpy = "==2.1.3"
scipy = "==1.14.1"
matplotlib = "==3.9.2"
[tool.poetry.group.test.dependencies]
pylint = "==3.3.1"
mypy = "==1.13.0"
black = { version = "==24.10.0", extras = ["jupyter"] }
pytest = "==8.3.3"
pytest-describe = "==2.2.0"
pytest-pspec = "==0.0.4"
pytest-raises = "==0.11"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "==8.1.3"
sphinx_autodoc_typehints = "*"
[tool.poetry.extras]
plot = ["matplotlib"]
[tool.poetry.build]
script = "build_cython_ext.py"
generate-setup-file = true
[tool.pylint]
disable = [
"too-many-locals",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-statements",
"too-many-branches",
"too-many-nested-blocks",
"too-many-instance-attributes",
"too-many-public-methods",
"protected-access",
"missing-module-docstring",
"missing-class-docstring",
"too-many-lines",
"duplicate-code",
"invalid-name",
"logging-fstring-interpolation",
]
max-line-length = 120
py-version = 3.8
[tool.mypy]
packages = "anastruct"
python_version = "3.10"
strict = true
allow_any_generics = true
implicit_reexport = true
strict_optional = false
explicit_package_bases = true
exclude = ["build", "dist", "tests", "doc"]
[[tool.mypy.overrides]]
module = [
"anastruct.fem.cython.celements",
"anastruct.fem.cython.cbasic",
"Cython.build",
]
ignore_missing_imports = true
[tool.black]
target-version = ['py310', 'py311', 'py312']