-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
110 lines (99 loc) · 2.68 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
[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 = "pycufsm"
version = "0.1.5"
authors = ["Brooks Smith <[email protected]>"]
description = "Python CUFSM (Constrained and Unconstrained Finite Strip Method)"
keywords = [
"FSM",
"finite strip",
"CUFSM",
"CFS",
"thin-walled",
"cold-formed steel",
"aluminium",
"structural engineering",
"structural analysis",
]
license = "AFL-3.0"
classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Academic Free License (AFL)",
]
readme = "README.md"
homepage = "https://github.com/ClearCalcs/pyCUFSM"
repository = "https://github.com/ClearCalcs/pyCUFSM"
documentation = "https://pycufsm.readthedocs.io"
packages = [{ include = "pycufsm" }]
include = ["py.typed", "*.pyx"]
[tool.poetry.dependencies]
python = ">=3.10"
numpy = ">=1.23.5"
scipy = ">=1.10.0"
ipywidgets = { version = ">=8.0.0", optional = true }
matplotlib = { version = ">=3.2", optional = true }
[tool.poetry.group.dev.dependencies]
numpy = "==2.1.1"
scipy = "==1.14.1"
matplotlib = "==3.9.1"
typing_extensions = "==4.12.2"
ipywidgets = "==8.1.3"
[tool.poetry.group.test.dependencies]
pylint = "==3.2.7"
mypy = "==1.13.0"
black = { version = "==24.8.0", extras = ["jupyter"] }
pytest = "==8.3.2"
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_autoapi = "==3.3.2"
[tool.poetry.extras]
plot = ["matplotlib"]
jupyter = ["ipywidgets", "matplotlib"]
[tool.poetry.build]
script = "build_cython_ext.py"
generate-setup-file = true
[tool.pylint]
disable = [
"too-many-locals",
"too-many-arguments",
"too-many-statements",
"too-many-branches",
"too-many-nested-blocks",
"duplicate-code",
"missing-module-docstring",
"too-many-lines",
"logging-fstring-interpolation",
]
variable-rgx = '[a-zA-Z_][a-zA-Z0-9_]{2,30}$'
argument-rgx = '[a-zA-Z_][a-zA-Z0-9_]{2,30}$'
function-rgx = '[a-zA-Z_][a-zA-Z0-9_]{2,30}$'
max-line-length = 120
py-version = 3.8
[tool.mypy]
packages = "pycufsm"
python_version = "3.10"
strict = true
allow_any_generics = true
implicit_reexport = true
exclude = ['gui_widgets\.py']
[tool.black]
line-length = 120
target-version = ['py310', 'py311', 'py312']