Skip to content

Commit 7185956

Browse files
committed
try to rename the module -> bloqade-analog
1 parent 8b5aeca commit 7185956

File tree

208 files changed

+5028
-887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+5028
-887
lines changed

pyproject.toml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "bloqade"
2+
name = "bloqade_analog"
33
version = "0.15.14"
44
description = "Neutral atom software development kit"
55
authors = [
@@ -82,7 +82,24 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
8282
target-version = "py39"
8383

8484
[tool.pdm]
85-
[tool.pdm.dev-dependencies]
85+
[tool.pdm.scripts]
86+
_.env_file = "./.env"
87+
upload = "python -m twine upload -r bloqade dist/*"
88+
build = {cmd = "pdm build"}
89+
publish = {composite = ["build", "upload"]}
90+
test = {shell = "git clean -f && pytest tests"}
91+
coverage = {shell = "git clean -f && coverage run -m pytest tests/ && coverage xml && coverage report"}
92+
coverage-html = {shell = "git clean -f && coverage run -m pytest -x -vv tests/ && coverage html && open htmlcov/index.html"}
93+
doc = {cmd = "mkdocs serve"}
94+
doc_build = {cmd = "mkdocs build"}
95+
doc_deploy = {cmd = "pdm mike deploy --push --update-aliases dev"}
96+
97+
[tool.jupytext]
98+
formats = "ipynb,py:percent"
99+
hide_notebook_metadata = false
100+
101+
102+
[dependency-groups]
86103
dev = [
87104
"twine>=4.0.2",
88105
"ipython>=8.12.0",
@@ -103,19 +120,3 @@ dev = [
103120
"icecream>=2.1.3",
104121
"tqdm>=4.66.4",
105122
]
106-
107-
[tool.pdm.scripts]
108-
_.env_file = "./.env"
109-
upload = "python -m twine upload -r bloqade dist/*"
110-
build = {cmd = "pdm build"}
111-
publish = {composite = ["build", "upload"]}
112-
test = {shell = "git clean -f && pytest tests"}
113-
coverage = {shell = "git clean -f && coverage run -m pytest tests/ && coverage xml && coverage report"}
114-
coverage-html = {shell = "git clean -f && coverage run -m pytest -x -vv tests/ && coverage html && open htmlcov/index.html"}
115-
doc = {cmd = "mkdocs serve"}
116-
doc_build = {cmd = "mkdocs build"}
117-
doc_deploy = {cmd = "pdm mike deploy --push --update-aliases dev"}
118-
119-
[tool.jupytext]
120-
formats = "ipynb,py:percent"
121-
hide_notebook_metadata = false

src/bloqade/juliapkg-release.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/bloqade/juliapkg.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/bloqade/submission/config/aquila_api_config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/bloqade/submission/config/capabilities.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/bloqade/submission/config/experimental_capabilities.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/bloqade/submission/config/mock_api_config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/bloqade/__init__.py renamed to src/bloqade_analog/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
except ImportError:
44
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
55

6-
from bloqade.ir import var, cast, Variable, Literal, start
7-
from bloqade.ir import to_waveform as waveform
8-
from bloqade.serialize import load, save, loads, dumps
6+
from bloqade_analog.ir import var, cast, Variable, Literal, start
7+
from bloqade_analog.ir import to_waveform as waveform
8+
from bloqade_analog.serialize import load, save, loads, dumps
99

10-
from bloqade.factory import (
10+
from bloqade_analog.factory import (
1111
get_capabilities,
1212
piecewise_linear,
1313
piecewise_constant,
1414
linear,
1515
constant,
1616
rydberg_h,
1717
)
18-
import bloqade.ir as _ir
19-
from bloqade.constants import RB_C6
18+
import bloqade_analog.ir as _ir
19+
from bloqade_analog.constants import RB_C6
2020

2121
import importlib.metadata
2222

23-
__version__ = importlib.metadata.version("bloqade")
23+
__version__ = importlib.metadata.version("bloqade_analog")
2424

2525

2626
def tree_depth(depth: int = None):

src/bloqade/atom_arrangement.py renamed to src/bloqade_analog/atom_arrangement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from bloqade.ir.location import (
1+
from bloqade_analog.ir.location import (
22
AtomArrangement,
33
Chain,
44
Square,

0 commit comments

Comments
 (0)