Skip to content

Commit 4dbe384

Browse files
authored
Add pyqrack extas with platform dependent constraints. (#208)
* adding extras to handle pyqrack dependency * updating pyqrack dependencies with platform specific flags * removing cpu extra
1 parent 14f89ba commit 4dbe384

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ dependencies = [
1717
"rich>=13.9.4",
1818
"pydantic>=1.3.0,<2.11.0",
1919
"pandas>=2.2.3",
20+
"pyqrack>=1.38.2 ; sys_platform == 'darwin'",
21+
"pyqrack-cpu>=1.38.2 ; sys_platform != 'darwin'",
2022
]
2123

2224
[project.optional-dependencies]
@@ -36,6 +38,12 @@ cirq = [
3638
"cirq-core>=1.4.1",
3739
"cirq-core[contrib]>=1.4.1",
3840
]
41+
pyqrack-opencl = [
42+
"pyqrack>=1.38.2 ; sys_platform != 'darwin'",
43+
]
44+
pyqrack-cuda = [
45+
"pyqrack-cuda>=1.38.2",
46+
]
3947

4048
[build-system]
4149
requires = ["hatchling"]

0 commit comments

Comments
 (0)