-
Notifications
You must be signed in to change notification settings - Fork 277
/
pyproject.toml
143 lines (133 loc) · 2.97 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
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools>=45", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "lmfit"
dynamic = ["version"]
dependencies = [
"asteval>=1.0",
"numpy>=1.19",
"scipy>=1.6",
"uncertainties>=3.2.2",
"dill>=0.3.4",
]
requires-python = ">= 3.8"
authors = [
{name = "LMFit Development Team", email = "[email protected]"},
]
description = "Least-Squares Minimization with Bounds and Constraints"
readme = "README.rst"
license = {file = "LICENSE"}
keywords = ["curve-fitting, least-squares minimization"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.urls]
Homepage = "https://lmfit.github.io//lmfit-py/"
Documentation = "https://lmfit.github.io/lmfit-py/"
Changelog = "https://lmfit.github.io/lmfit-py/whatsnew.html"
[project.optional-dependencies]
dev = [
"build",
"check-wheel-contents",
"flake8-pyproject",
"pre-commit",
"twine",
]
doc = [
"cairosvg",
"corner",
"emcee>=3.0.0",
"ipykernel",
"jupyter_sphinx>=0.2.4",
"matplotlib",
"numdifftools",
"pandas",
"Pillow",
"pycairo;platform_system=='Windows'",
"Sphinx",
"sphinx-gallery>=0.10",
"sphinxcontrib-svg2pdfconverter",
"sympy",
]
test = [
"coverage",
"flaky",
"pytest",
"pytest-cov",
]
all = ["lmfit[dev, doc, test]"]
[tool.setuptools.packages.find]
include = ["lmfit"]
[tool.setuptools_scm]
write_to = "lmfit/version.py"
version_scheme = "post-release"
[tool.isort]
skip = [
"lmfit/__init__.py",
"doc/conf.py",
]
known_third_party = [
"asteval",
"dill" ,
"emcee",
"IPython",
"matplotlib",
"numdifftools",
"numpy",
"NISTModels",
"pandas",
"pytest",
"scipy",
"uncertainties",
]
known_first_party = [
"lmfit",
"lmfit_testutils",
]
force_sort_within_sections = "True"
[tool.rstcheck]
report_level = "WARNING"
ignore_substitutions = [
"release",
]
ignore_roles = [
"scipydoc",
"numpydoc",
]
ignore_directives = [
"autoclass",
"autodoc",
"autofunction",
"automethod",
"jupyter-execute",
"math",
]
[tool.coverage.run]
omit = [
"tests/*",
]
[tool.pytest.ini_options]
addopts = "--cov=lmfit --cov-report html"
[tool.flake8]
ignore = [
"E121", "E123", "E126", "E226",
"W503", "W504", "E501", "E731",
]
exclude = [
"doc/conf.py",
"lmfit/__init__.py",
]