-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
82 lines (75 loc) · 2.54 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
[tool.poetry]
name = "qualang-tools"
version = "v0.18.1"
description = "The qualang_tools package includes various tools related to QUA programs in Python"
authors = ["Quantum Machines <[email protected]>"]
license = "BSD-3-Clause"
packages = [{ include = "qualang_tools" }]
include = []
exclude = ["**/tests/**"]
readme = "README.md"
homepage = "https://github.com/qua-platform/py-qua-tools"
[tool.poetry.dependencies]
python = ">=3.8, <3.13"
matplotlib = "^3.4.2"
numpy = [
{ version = ">=1.17.0, <2", python = ">=3.8,<3.12" },
{ version = ">=1.26.0, <2", python = ">=3.12" },
]
qm-qua = { version = ">=1.1.7", python = ">=3.8,<3.13" }
scipy = [
{ version = ">=1.7.1, <1.10.0", python = ">=3.8,<3.12" },
{ version = ">=1.11.0", python = ">=3.12" },
]
pandas = { version = ">=1.2.4", optional = true }
dash = { version = "^2.0.0", optional = true }
dash-html-components = { version = "^2.0.0", optional = true }
dash-core-components = { version = "^2.0.0", optional = true }
dash-bootstrap-components = { version = "^1.6.0", optional = true, python = ">=3.8,<4" }
dash-cytoscape = { version = "^0.3.0", optional = true }
dash-table = { version = "^5.0.0", optional = true }
dash-dangerously-set-inner-html = { version = "^0.0.2", optional = true }
docutils = { version = ">=0.14.0 <= 0.21", optional = true }
waitress = { version = "^2.0.0", optional = true }
dill = { version = "^0.3.4", optional = true }
pypiwin32 = { version = "^223", optional = true }
ipython = { version = "^8.10.0", optional = true }
xarray = { version = "^2023.0.0", optional = true }
scikit-learn = "^1.0.2"
grpclib = "0.4.5"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
black = "^24.3"
poethepoet = "^0.18.0"
flake8 = "^5.0.4"
setuptools = "^69.0.2"
[tool.poetry.extras]
interplot = ["dill", "pypiwin32", "ipython"]
configbuilder = [
"pandas",
"dash",
"dash-html-components",
"dash-core-components",
"dash-bootstrap-components",
"dash-cytoscape",
"dash-table",
"dash-dangerously-set-inner-html",
"docutils",
"waitress",
]
datahandler = ["xarray", "netcdf4"]
[tool.black]
line-length = 120
exclude = "qualang_tools/bakery/randomized_benchmark_c1.py"
[tool.poe.tasks]
format = "black qualang_tools"
check-format = "black --check qualang_tools"
lint = "flake8 qualang_tools"
test = "pytest tests"
test_server = "pytest tests_against_server"
[tool.poe.tasks.check]
sequence = ["check-format", "lint", "test"]
help = "Perform all check possible on the code"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"