-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (122 loc) · 3.31 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[tool.poetry]
name = "planestress"
version = "0.0.4"
description = "A python package for plane stress analysis using the finite element method."
license = "MIT"
authors = [
"Robbie van Leeuwen <robbie.vanleeuwen@gmail.com>",
]
maintainers = [
"Robbie van Leeuwen <robbie.vanleeuwen@gmail.com>",
]
readme = "README.md"
homepage = "https://github.com/robbievanleeuwen/plane-stress"
repository = "https://github.com/robbievanleeuwen/plane-stress"
documentation = "https://plane-stress.readthedocs.io"
keywords = [
"plane-stress",
"structural-engineering",
"finite-element-analysis",
"computational-mechanics",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Topic :: Scientific/Engineering",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
packages = [
{ include = "planestress", from = "src" },
{ include = "src/planestress/py.typed" },
]
include = []
[tool.poetry.urls]
Changelog = "https://github.com/robbievanleeuwen/plane-stress/releases"
"Bug Tracker" = "https://github.com/robbievanleeuwen/plane-stress/issues"
[tool.poetry.dependencies]
python = ">=3.9.0,<3.12"
numpy = "^1.24.0"
scipy = "^1.10.0"
matplotlib = "^3.8.0"
shapely = "^2.0.2"
gmsh = "^4.11.1"
numba = "^0.58.1"
rich = "^13.5.0"
click = "^8.1.7"
pypardiso = { version = "^0.4.3", optional = true }
intel-openmp = { version = "==2023.2.0", optional = true }
[tool.poetry.group.dev.dependencies]
black = "^23.10.1"
coverage = { extras = ["toml"], version = "^7.3.2" }
darglint = "^1.8.1"
flake8 = "^6.1.0"
flake8-bugbear = "^23.9.16"
flake8-docstrings = "^1.7.0"
flake8-pytest-style = "^1.7.2"
flake8-rst-docstrings = "^0.3.0"
furo = "^2023.9.10"
ipykernel = "^6.26.0"
ipython = "^8.16.1"
ipywidgets = "^8.1.1"
isort = "^5.12.0"
mypy = "^1.6.1"
nbconvert = "^7.9.2"
nbsphinx = "^0.9.3"
notebook = "^7.0.6"
pep8-naming = "^0.13.3"
pre-commit = "^3.5.0"
pre-commit-hooks = "^4.5.0"
Pygments = "^2.16.1"
pytest = "^7.4.3"
pytest-benchmark = { extras = ["histogram"], version = "^4.0.0" }
pytest-check = "^2.2.2"
pyupgrade = "^3.15.0"
sphinx = "^7.2.6"
sphinx-autobuild = "^2021.3.14"
sphinx-click = "^5.0.1"
sphinx-copybutton = "^0.5.2"
sphinxext-opengraph = "^0.8.2"
[tool.poetry.extras]
pardiso = ["pypardiso", "intel-openmp"]
[tool.poetry.scripts]
planestress = "planestress.__main__:main"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["planestress", "tests"]
omit = ["*/benchmarks/*"]
[tool.coverage.report]
show_missing = true
[tool.isort]
profile = "black"
lines_after_imports = 2
[tool.mypy]
strict = true
# output formatting
pretty = true
show_column_numbers = true
show_error_context = true
[[tool.mypy.overrides]]
module = [
"gmsh.*",
"mpl_toolkits.*",
"numba.*",
"pypardiso.*",
"scipy.*",
"shapely.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"benchmark_suite: entire benchmark test suite (select with '-m benchmark_suite')",
"benchmark_analysis: analysis benchmark tests (select with '-m benchmark_analysis')",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"