forked from bumps/bumps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (84 loc) · 2.23 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
[project]
name = "bumps"
dynamic = ["version"]
description = "Data fitting with bayesian uncertainty analysis"
readme = "README.rst"
authors = [
{ name = "Paul Kienzle", email = "[email protected]" },
]
license = { file = "LICENSE.txt" }
dependencies = [
'numpy',
'scikit-learn',
'scipy',
'typing_extensions>=3.7.4',
'graphlib_backport; python_version < "3.9"'
]
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: Public Domain',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
]
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
'build',
'pytest',
'pytest-cov',
'wheel',
'setuptools',
'sphinx',
'versioningit',
'matplotlib',
]
webview = [
'aiohttp',
'blinker',
'dill',
'matplotlib',
'python-socketio',
'plotly',
'mpld3',
'nodejs',
'h5py'
]
[project.urls]
documentation = "https://bumps.readthedocs.io"
homepage = "https://bumps.readthedocs.io"
repository = "https://github.com/bumps/bumps"
[build-system]
requires = [
"setuptools",
"versioningit"
]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "bumps.__version__" }
[tool.setuptools.packages.find]
include = ["bumps*"]
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.1"
[tool.versioningit.next-version]
method = "smallest"
[tool.versioningit.write]
file = "bumps/_version.py"
[project.scripts]
bumps = "bumps.cli:main"
bumps-webview = "bumps.webview.server.webserver:main"
[tool.pytest.ini_options]
# TODO: remove --assert=plain when https://github.com/scipy/scipy/issues/22236 is resolved
addopts = "--doctest-modules --doctest-glob=*.rst --cov=bumps --assert=plain"
doctest_optionflags = ["ELLIPSIS", "NORMALIZE_WHITESPACE"]
testpaths = ["bumps", "doc/getting_started", "doc/guide"]
norecursedirs = ["gui", "webview/client"]
python_files = ["*.py"]
python_classes = ["NoClassTestsWillMatch"]
python_functions = ["test", "*_test", "test_*"]