-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
122 lines (109 loc) · 2.85 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
# pyproject.toml, for more information about configuration options, see
# https://setuptools.pypa.io/en/stable/userguide/pyproject_config.html
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
[project]
name = "abqpy"
authors = [
{ name="WANG Hailin", email="[email protected]" },
]
description = "Type hints for Abaqus/Python scripting"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"auto-all",
"fire",
"pydantic",
"typeguard",
"typing-extensions",
]
[project.optional-dependencies]
jupyter = [
"ipynbname",
"nbconvert",
]
dev = [
"black",
"coverage",
"crowdin-api-client",
"docformatter",
"flake8",
"mypy",
"pofmt",
"polib",
"pre-commit",
"pytest",
"pytest-cov",
]
docs = [
"autoclasstoc",
"furo",
"gitpython",
"myst-parser",
"pandas",
"packaging",
"pillow",
"sphinx",
"sphinx-autoapi",
"sphinx-autodoc-typehints",
"sphinx-book-theme>=1.0.1",
"sphinx-codeautolink",
"sphinx-copybutton",
"sphinx-comments",
"sphinx-design",
"sphinx-gallery",
"sphinx-hoverxref",
"sphinx-inline-tabs",
"sphinx-intl",
"sphinx-immaterial",
"sphinx-togglebutton",
"sphinx-toolbox",
"sphinxcontrib-programoutput",
]
[project.urls]
"Homepage" = "https://abqpy.com"
"GitHub" = "https://github.com/haiiliin/abqpy"
"Bug Tracker" = "https://github.com/haiiliin/abqpy/issues"
"Read the Docs" = "https://readthedocs.org/projects/abqpy"
"Documentation" = "https://haiiliin.github.io/abqpy/"
[project.scripts]
abqpy = "abqpy.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/abqpy/_version.py"
[tool.pytest.ini_options]
testpaths = ["src", "tests"]
addopts = """-rf -s --cov=src --cov-report=xml --cov-report=html --cov-report=term-missing --junitxml=test-report.xml"""
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
include = '(src/abaqus/.*\.py|src/abqpy/.*\.py|tests/.*\.py|setup\.py)'
[tool.isort]
profile = "black"
[tool.docformatter]
recursive = true
wrap-summaries = 112
wrap-descriptions = 108
blank = false
in-place = true
black = true
[tool.mypy]
ignore_missing_imports = true
[tool.unimport]
include = "src"