-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
124 lines (106 loc) · 3.2 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
[build-system]
requires = [
"setuptools >= 61.2",
"versioningit >= 2.2.1",
]
build-backend = 'setuptools.build_meta'
[project]
name = "qcodes_loop"
maintainers = [{name = "QCoDeS Core Developers", email = "[email protected]"}]
description = "Features previously in QCoDeS"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
license = {text = "MIT"}
requires-python = ">=3.9"
dependencies = [
"qcodes>=0.42.0",
"h5py>=3.0.0",
"lazy_loader>=0.1",
"matplotlib>=3.3.0",
"numpy>=1.21.0",
"pandas>=1.0.0",
"versioningit>=2.2.1",
"xarray>=0.18.0",
"hickle",
"ipython>=7.31.1,!=8.0.0",
]
dynamic = ["version"]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://github.com/QCoDeS/Qcodes_loop"
Documentation = "https://qcodes.github.io/Qcodes_loop/"
Source = "https://github.com/qcodes/qcodes_loop"
Tracker = "https://github.com/QCoDeS/Qcodes_loop/issues"
[project.optional-dependencies]
qtplot = ["pyqtgraph>=0.11.0"]
slack = ["slack-sdk>=3.4.2", "requests", "urllib3"]
test = [
"coverage[toml]>=6.0.0",
"hypothesis>=5.49.0",
"pytest>=6.1.0",
"pytest-xdist>=2.0.0",
"pytest-mock>=3.0.0",
"pyqtgraph>=0.11.0", # pyqtgraph tests
"PyQt5>=5.15.0", # pyqtgraph tests
"slack-sdk>=3.4.2", # slack tests and typecheck
"requests", # slack tests and typecheck
"urllib3", # slack tests and typecheck
]
docs = [
"nbsphinx>=0.8.9",
"PyQt5>=5.15.0", # pyqtgraph examples
"pyqtgraph>=0.11.0", # pyqtgraph examples
"sphinx>=4.5.0,<9.0.0",
"slack-sdk>=3.4.2", # slack docs
"requests", # slack docs
"urllib3", # slack docs
]
[tool.coverage.run]
omit = [
"*/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
minversion = "6.0"
junit_family = "legacy"
addopts = "-n auto --dist=loadfile"
markers = "serial"
# warnings triggered by xarray and hdf5netcdf using deprecated apis
filterwarnings = [
"ignore:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning",
"ignore:distutils Version classes are deprecated:DeprecationWarning",
"ignore:SelectableGroups dict interface is deprecated:DeprecationWarning"
]
[tool.ruff]
[tool.ruff.lint]
select = ["I","UP"]
[tool.setuptools.cmdclass]
sdist = "versioningit.cmdclass.sdist"
build_py = "versioningit.cmdclass.build_py"
[tool.versioningit]
default-version = "0.0"
[tool.versioningit.format]
distance = "{next_version}.dev{distance}+{branch}.{vcs}{rev}"
dirty = "{next_version}.dev{distance}+{branch}.{vcs}{rev}.dirty"
distance-dirty = "{next_version}.dev{distance}+{branch}.{vcs}{rev}.dirty"
[tool.versioningit.vcs]
method = "git"
match = ["v*"]
[tool.versioningit.onbuild]
source-file = "src/qcodes_loop/_version.py"
build-file = "qcodes_loop/_version.py"