-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (51 loc) · 1.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
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[project]
name = "gem-suite"
description = "Qiskit Experiments suite for generation of entanglement using measurements."
version = "0.1.7.dev"
requires-python = ">= 3.8"
authors = [{ name = "Naoki Kanazawa", email = "[email protected]" }]
readme = "README.md"
license = { file = "LICENSE.txt" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pymatching",
"qiskit >= 1.0",
"qiskit-experiments >= 0.7",
"qiskit-ibm-runtime",
]
[project.optional-dependencies]
dev = ["black", "qiskit-aer", "ruff"]
[tool.setuptools.packages.find]
include = ["gem_suite", "gem_suite.*"]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.ruff]
line-length = 105
src = ["gem_suite", "setup.py", "tests"]
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"PYI", # flake8-pyi
"Q", # flake8-quotes
]
[tool.ruff.lint.per-file-ignores]
"*.pyi" = ["F403", "F405", "PYI001", "PYI002"]
[tool.cibuildwheel]
skip = ["*-musllinux_i686"]
[tool.cibuildwheel.linux]
before-all = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
environment = "PATH=$HOME/.cargo/bin:$PATH"