-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
121 lines (114 loc) · 2.84 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
[project]
name = "bloqade"
version = "0.15.14"
description = "Neutral atom software development kit"
authors = [
{name = "QuEra Computing Inc.", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"juliacall>=0.9.14",
"numpy>=2.0.2",
"pydantic>=2.0",
"scipy>=1.9.3",
"pandas>=2.1.0",
"bokeh>=3.2.2",
"tabulate>=0.9.0",
"requests-sigv4>=0.1.6",
"amazon-braket-sdk>=1.78.0",
"plotext>=5.2.8",
"beartype>=0.15.0",
"simplejson>=3.19.1",
"plum-dispatch>=2.2.2",
"numba>=0.58.0",
]
requires-python = ">=3.9,<3.13"
readme = "README.md"
license = {text = "MIT"}
[project.optional-dependencies]
doc = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.1.9",
"mkdocstrings[python]>=0.21.2",
"mkdocs-minify-plugin>=0.6.4",
"mkdocs-jupyter>=0.24.1",
"mkdocs-gen-files>=0.5.0",
"mkdocs-literate-nav>=0.6.0",
"mike>=1.1.2",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.black]
line-length = 88
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.9.
target-version = "py39"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"twine>=4.0.2",
"ipython>=8.12.0",
"black>=23.3.0",
"pytest>=7.3.1",
"mypy>=1.2.0",
"ipykernel>=6.22.0",
"jupyter>=1.0.0",
"ruff>=0.0.264",
"pre-commit>=3.3.1",
"coverage>=7.2.5",
"jupytext>=1.14.5",
"pytest-recording>=0.12.2",
"vcrpy==4.4.0",
"pyinstrument>=4.6.1",
"scikit-optimize>=0.9.0",
"matplotlib>=3.8.1",
"icecream>=2.1.3",
"tqdm>=4.66.4",
]
[tool.pdm.scripts]
_.env_file = "./.env"
upload = "python -m twine upload -r bloqade dist/*"
build = {cmd = "pdm build"}
publish = {composite = ["build", "upload"]}
test = {shell = "git clean -f && pytest tests"}
coverage = {shell = "git clean -f && coverage run -m pytest tests/ && coverage xml && coverage report"}
coverage-html = {shell = "git clean -f && coverage run -m pytest -x -vv tests/ && coverage html && open htmlcov/index.html"}
doc = {cmd = "mkdocs serve"}
doc_build = {cmd = "mkdocs build"}
doc_deploy = {cmd = "pdm mike deploy --push --update-aliases dev"}
[tool.jupytext]
formats = "ipynb,py:percent"
hide_notebook_metadata = false