forked from toolsforexperiments/CQEDToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.61 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (91 loc) · 2.61 KB
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
[project]
name = "cqedtoolbox"
version = "0.1.0"
description = "Tool implementations used in pfafflab based on the rest of the tools for experiments ecosystem"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [
{name = "toolsforexperiments", email = "your-email@example.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"Pyro4>=4.80",
"labcore",
"instrumentserver",
"qick",
"qm-qua",
"qualang-tools",
"py-thorlabs-tsp",
"numpy",
"qcodes",
"matplotlib",
"scipy",
"ipython",
"ipywidgets",
"xarray",
"scikit-learn",
]
[project.scripts]
pyro-ns = "cqedtoolbox.scripts.pyro_nameserver:run_pyro_nameserver"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"pre-commit>=3.5.0",
]
[project.urls]
Homepage = "https://github.com/toolsforexperiments/CQEDToolbox"
Repository = "https://github.com/toolsforexperiments/CQEDToolbox"
Issues = "https://github.com/toolsforexperiments/CQEDToolbox/issues"
[build-system]
requires = [
"setuptools >= 48",
"wheel >= 0.29.0",
"versioningit >= 1.1.0"
]
build-backend = 'setuptools.build_meta'
[tool.uv]
# Restricts resolution to non-ARM platforms (pynq/qick ARM deps not needed on dev machines).
# qm-qua requires betterproto pre-releases; qualang-tools pins pandas<2.0 which
# doesn't support Python 3.12+, so we force override both.
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux' and platform_machine == 'x86_64'",
]
prerelease = "if-necessary-or-explicit"
override-dependencies = ["pandas>=2.0"]
[tool.uv.sources]
labcore = { path = "../labcore", editable = true }
instrumentserver = { path = "../instrumentserver", editable = true }
qick = { path = "../qick", editable = true }
[tool.mypy]
strict_optional = true
show_column_numbers = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
no_implicit_optional = true
disallow_untyped_defs = true
show_error_codes = true
enable_error_code = "ignore-without-code"
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli = true
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
include = ["cqedtoolbox*"]
exclude = ["site*", "docs*", "test*"]
[tool.setuptools.package-data]
cqedtoolbox = ["py.typed"]